From e9a7215277ccb59d126cd0981d148744068ed148 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Mon, 20 Apr 1998 22:13:36 +0000 Subject: Fix compiler warnings - Federico svn path=/trunk/; revision=170 --- calendar/gnome-cal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gnome-cal.c') diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index af7b801f94..a7b5402e0d 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "calendar.h" #include "gnome-cal.h" #include "gncal-full-day.h" @@ -319,7 +320,7 @@ execute (char *command, int close_standard) sigaction (SIGINT, &save_intr, NULL); sigaction (SIGQUIT, &save_quit, NULL); - for (i = (close_standard ? 0 : 3); i < 4096; i++) + for (i = (close_standard ? 0 : 3); i < top; i++) close (i); /* FIXME: As an excercise to the reader, copy the -- cgit