From dc30d90fd4b5c90df4d19e89ac4a3f4cd4abe557 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 5 Sep 2022 21:12:08 +0000 Subject: Two more missing long long casts --- src/regress/lib/libcrypto/asn1/rfc5280time.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/regress/lib/libcrypto/asn1/rfc5280time.c') diff --git a/src/regress/lib/libcrypto/asn1/rfc5280time.c b/src/regress/lib/libcrypto/asn1/rfc5280time.c index cad407cc48..7a44a30e88 100644 --- a/src/regress/lib/libcrypto/asn1/rfc5280time.c +++ b/src/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 * Copyright (c) 2015 Bob Beck @@ -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++; -- cgit v1.2.3-55-g6feb