1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00

typeconversion is needed here for cygwin

This commit is contained in:
Marcus Boerger
2002-12-12 12:18:44 +00:00
parent 26b101dd1b
commit 835c4dedbb
+1 -1
View File
@@ -298,7 +298,7 @@ static time_t asn1_time_to_time_t(ASN1_UTCTIME * timestr TSRMLS_DC)
** the value of timezone - 3600 seconds. Otherwise, we need to overcorrect and
** set the adjustment to the main timezone + 3600 seconds.
*/
gmadjust = -(thetime.tm_isdst ? timezone - 3600 : timezone + 3600);
gmadjust = -(thetime.tm_isdst ? (long)timezone - 3600 : (long)timezone + 3600);
#endif
ret += gmadjust;