diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-09-05 21:12:09 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-09-05 21:12:09 +0000 |
commit | ebf4c1594eaa51b3569d9d1efb4bae20fcd181fe (patch) | |
tree | ff7502b5730709dfd24433d2a78e03572c7abac0 /regress | |
parent | f0e4896e6f95ddd9a8b10f048fe9e8d07f770444 (diff) |
Two more missing long long casts
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/asn1/rfc5280time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/asn1/rfc5280time.c b/regress/lib/libcrypto/asn1/rfc5280time.c index cad407cc481..7a44a30e886 100644 --- a/regress/lib/libcrypto/asn1/rfc5280time.c +++ b/regress/lib/libcrypto/asn1/rfc5280time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rfc5280time.c,v 1.6 2022/09/05 21:08:08 tb Exp $ */ +/* $OpenBSD: rfc5280time.c,v 1.7 2022/09/05 21:12:08 tb Exp $ */ /* * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> * Copyright (c) 2015 Bob Beck <beck@opebsd.org> @@ -325,14 +325,14 @@ rfc5280_utctime_test(int test_no, struct rfc5280_time_test *att) if ((i = X509_cmp_time(ut, &att->time)) != -1) { fprintf(stderr, "FAIL: test %d - X509_cmp_time failed - returned %d compared to %lld\n", - test_no, i, att->time); + test_no, i, (long long)att->time); goto done; } att->time--; if ((i = X509_cmp_time(ut, &att->time)) != 1) { fprintf(stderr, "FAIL: test %d - X509_cmp_time failed - returned %d compared to %lld\n", - test_no, i, att->time); + test_no, i, (long long)att->time); goto done; } att->time++; |