aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-02-20 22:37:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2014-02-20 22:55:24 +0000
commit47739161c685790344981c6858fe35c63cd705b1 (patch)
tree7cd7e2cc541bce791f55ae65b1196cf456550eeb /crypto/x509v3
parent8764e8633924a87c603cecac088165fd364d8866 (diff)
downloadopenssl-47739161c685790344981c6858fe35c63cd705b1.tar.gz
fix WIN32 warnings
(cherry picked from commit b709f8ef54b1c9ad513878ba0213aa651a9acef8)
Diffstat (limited to 'crypto/x509v3')
-rw-r--r--crypto/x509v3/v3_scts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_scts.c b/crypto/x509v3/v3_scts.c
index c6ef0dc901..32548007d8 100644
--- a/crypto/x509v3/v3_scts.c
+++ b/crypto/x509v3/v3_scts.c
@@ -102,7 +102,7 @@ static void timestamp_print(BIO *out, BN_ULLONG timestamp)
char genstr[20];
gen = ASN1_GENERALIZEDTIME_new();
ASN1_GENERALIZEDTIME_adj(gen, (time_t)0,
- timestamp / 86400000,
+ (int)(timestamp / 86400000),
(timestamp % 86400000) / 1000);
/* Note GeneralizedTime from ASN1_GENERALIZETIME_adj is always 15
* characters long with a final Z. Update it with fractional seconds.