mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Use time_t instead of assuming it to be of type long.
This commit is contained in:
parent
efbdb92482
commit
90e8f6b6a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64544
15
astro/wmsun/files/patch-wmSun.c
Normal file
15
astro/wmsun/files/patch-wmSun.c
Normal file
@ -0,0 +1,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];
|
Loading…
Reference in New Issue
Block a user