diff options
| author | Marcus Boerger <helly@php.net> | 2002-12-12 12:18:44 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-12-12 12:18:44 +0000 |
| commit | 835c4dedbb0e95912484cd48c1e8d26879997ffe (patch) | |
| tree | 213cd91a9c63b96febb248cfc4b18eb5e3417dba /ext/openssl/openssl.c | |
| parent | 26b101dd1bbf2cfc6560833fbaa46789c1494be3 (diff) | |
| download | php-git-835c4dedbb0e95912484cd48c1e8d26879997ffe.tar.gz | |
typeconversion is needed here for cygwin
Diffstat (limited to 'ext/openssl/openssl.c')
| -rw-r--r-- | ext/openssl/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 1c44e00afc..44a4bc80ea 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -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; |
