diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-02-20 22:37:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-02-20 22:41:06 +0000 |
commit | b709f8ef54b1c9ad513878ba0213aa651a9acef8 (patch) | |
tree | ffc2a5df426a0ba04d500b23796b9ad0c9580136 /crypto/x509v3 | |
parent | c74ce24cd22e8c683ba0e5353c0762f8616e597d (diff) |
fix WIN32 warnings
Diffstat (limited to 'crypto/x509v3')
-rw-r--r-- | crypto/x509v3/v3_scts.c | 2 |
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. |