diff options
author | naddy <naddy@FreeBSD.org> | 2002-08-16 00:09:51 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-08-16 00:09:51 +0800 |
commit | a742bfc7a31d68d8c81b7c12a44e9e69b88e43c7 (patch) | |
tree | 0ec47fb961504236b406bff94698ffe483d67e52 | |
parent | 0733c505953614058df10652ae954a62aa65ae6c (diff) | |
download | freebsd-ports-gnome-a742bfc7a31d68d8c81b7c12a44e9e69b88e43c7.tar.gz freebsd-ports-gnome-a742bfc7a31d68d8c81b7c12a44e9e69b88e43c7.tar.zst freebsd-ports-gnome-a742bfc7a31d68d8c81b7c12a44e9e69b88e43c7.zip |
Use time_t instead of assuming it to be of type long.
-rw-r--r-- | astro/wmsun/files/patch-wmSun.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/astro/wmsun/files/patch-wmSun.c b/astro/wmsun/files/patch-wmSun.c new file mode 100644 index 000000000000..a87af2c10a3d --- /dev/null +++ b/astro/wmsun/files/patch-wmSun.c @@ -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]; |