diff options
author | Bernard Normier <bernard@zeroc.com> | 2020-04-30 14:25:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 14:25:43 -0400 |
commit | c50c3caeb3a84d442be0665988f25fd45c579b9f (patch) | |
tree | 5e61f37d093a8d7778698c8b65ff03b39d4e99ec /cpp/src/IceSSL | |
parent | Fix build failured, introduce in previous commit (diff) | |
download | ice-c50c3caeb3a84d442be0665988f25fd45c579b9f.tar.bz2 ice-c50c3caeb3a84d442be0665988f25fd45c579b9f.tar.xz ice-c50c3caeb3a84d442be0665988f25fd45c579b9f.zip |
Fixed warnings (#824)
Diffstat (limited to 'cpp/src/IceSSL')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLCertificateI.cpp | 2 |
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())); |