Use time_t instead of assuming equivalence to long.
Approved by: maintainer timeout
This commit is contained in:
parent
c648d277c4
commit
1761a9c441
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65337
1 changed files with 15 additions and 0 deletions
15
astro/wmmoonclock/files/patch-wmMoonClock.c
Normal file
15
astro/wmmoonclock/files/patch-wmMoonClock.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wmMoonClock.c.orig Thu Aug 15 18:15:26 2002
|
||||
+++ wmMoonClock.c Thu Aug 15 18:15:51 2002
|
||||
@@ -162,7 +162,8 @@
|
||||
int i, n, k, j, ImageNumber;
|
||||
int Year, Month, DayOfWeek, DayOfMonth;
|
||||
int Hours, Mins, Secs, OldSecs, digit, xoff, xsize;
|
||||
- long CurrentLocalTime, CurrentGMTTime, date;
|
||||
+ time_t CurrentLocalTime, CurrentGMTTime;
|
||||
+ long date;
|
||||
double UT, val, RA, DEC, UTRise, UTSet, LocalHour, hour24();
|
||||
int D, H, M, S, sgn, A, B, q;
|
||||
char str[10];
|
Loading…
Reference in a new issue