summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/OpenSSLCertificateI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLCertificateI.cpp')
-rw-r--r--cpp/src/IceSSL/OpenSSLCertificateI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/OpenSSLCertificateI.cpp b/cpp/src/IceSSL/OpenSSLCertificateI.cpp
index 430fce90cab..db83275bc22 100644
--- a/cpp/src/IceSSL/OpenSSLCertificateI.cpp
+++ b/cpp/src/IceSSL/OpenSSLCertificateI.cpp
@@ -228,7 +228,7 @@ ASMUtcTimeToTime(const ASN1_UTCTIME* s)
# pragma warning(default:4996) // localtime is depercated
#endif
- IceUtil::Time time = IceUtil::Time::seconds(mktime(&tm) - offset * 60 + tzone);
+ IceUtil::Time time = IceUtil::Time::seconds(mktime(&tm) - IceUtil::Int64(offset) * 60 + tzone);
#ifdef ICE_CPP11_MAPPING
return chrono::system_clock::time_point(chrono::microseconds(time.toMicroSeconds()));