From e751e09108fd34a80e1de87ebd7cc0a706ae46b6 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Tue, 19 Apr 2016 12:31:10 -0500 Subject: [PATCH] Fix warnings in test_bulk.c --- lib/hcrypto/test_bulk.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/hcrypto/test_bulk.c b/lib/hcrypto/test_bulk.c index fa087f379..1abe41d81 100644 --- a/lib/hcrypto/test_bulk.c +++ b/lib/hcrypto/test_bulk.c @@ -160,7 +160,8 @@ test_bulk_cipher(const char *cname, const EVP_CIPHER *c) errx(1, "encrypt/decrypt inconsistent"); } - printf("%s: mean time %llu usec%s\n", cname, M, (M == 1) ? "" : "s"); + printf("%s: mean time %llu usec%s\n", cname, (unsigned long long)M, + (M == 1) ? "" : "s"); return 0; } @@ -184,7 +185,8 @@ test_bulk_digest(const char *cname, const EVP_MD *md) STATS_END(M); } - printf("%s: mean time %llu usec%s\n", cname, M, (M == 1) ? "" : "s"); + printf("%s: mean time %llu usec%s\n", cname, (unsigned long long)M, + (M == 1) ? "" : "s"); return 0; }