helly Thu Dec 12 07:18:43 2002 EDT Modified files: /php4/ext/openssl openssl.c Log: typeconversion is needed here for cygwin Index: php4/ext/openssl/openssl.c diff -u php4/ext/openssl/openssl.c:1.55 php4/ext/openssl/openssl.c:1.56 --- php4/ext/openssl/openssl.c:1.55 Wed Dec 11 02:29:50 2002 +++ php4/ext/openssl/openssl.c Thu Dec 12 07:18:43 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: openssl.c,v 1.55 2002/12/11 07:29:50 iliaa Exp $ */ +/* $Id: openssl.c,v 1.56 2002/12/12 12:18:43 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -298,7 +298,7 @@ ** 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php