From 898fc41d5354b56759802c03abdb14b6ba06e7d2 Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 5 Sep 2022 21:12:08 +0000 Subject: [PATCH] Two more missing long long casts --- regress/lib/libcrypto/asn1/rfc5280time.c | 6 +++--- 1 file 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 * 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++; -- 2.20.1