From: tb Date: Mon, 5 Sep 2022 21:12:08 +0000 (+0000) Subject: Two more missing long long casts X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=898fc41d5354b56759802c03abdb14b6ba06e7d2;p=openbsd Two more missing long long casts --- 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++;