freebsd-ports/www/amaya/files/patch-annotlib-ANNOTtools.c
Martin Wilke cabfa566a1 - Update to 0.9.55
PR:		120006
Submitted by:	Beat Gaetzi <beat@chruetertee.ch>
Approved by:	maintainer
2008-02-07 14:20:53 +00:00

20 lines
769 B
C

--- ../annotlib/ANNOTtools.c.orig 2008-02-05 02:44:09.000000000 +0000
+++ ../annotlib/ANNOTtools.c 2008-02-05 02:44:37.000000000 +0000
@@ -2275,7 +2275,7 @@
#ifdef _WINGUI
UTCoffset = _timezone; /* global, set by localtime() */
#else
- UTCoffset = (int)timezone; /* global, set by localtime() */
+ UTCoffset = (long)timezone; /* global, set by localtime() */
#endif /* _WINGUI */
UTChourOffset = UTCminOffset = abs(UTCoffset)/60; /* UTCoffset is seconds */
@@ -2378,7 +2378,7 @@
#ifdef _WINGUI
UTCoffset = _timezone; /* global, set by localtime() */
#else
- UTCoffset = (int)timezone; /* global, set by localtime() */
+ UTCoffset = (long)timezone; /* global, set by localtime() */
#endif /* _WINGUI */
cal_date -= UTCoffset;