summaryrefslogtreecommitdiff
path: root/astro/wmsun/files/patch-wmSun.c
blob: a87af2c10a3de225add67cce40373ce46ff60e21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$FreeBSD$

--- wmSun.c.orig	Thu Aug 15 18:04:04 2002
+++ wmSun.c	Thu Aug 15 18:06:24 2002
@@ -129,7 +129,8 @@
     int 		Year, Month, DayOfWeek, OldLocalDayOfMonth;
     int			LocalDayOfMonth,	DayOfMonth;
     int			Hours, Mins, Secs, OldSecs, digit, xoff, xsize;
-    long		CurrentLocalTime, CurrentGMTTime, date;
+    time_t		CurrentLocalTime, CurrentGMTTime;
+    long		date;
     double		UT, val, RA, DEC, LTRise, LTSet, LocalHour, hour24();
     int			D, H, M, S, sgn, A, B, q;
     char		str[10];