cvs: php4 /ext/openssl openssl.c

From: Date: Thu, 12 Dec 2002 12:18:43 +0000
Subject: cvs: php4 /ext/openssl openssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17154@lists.php.net to get a copy of this message
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;

« previous php.cvs (#17154) next »