From 0303ec895f269b7d586045e76a8ed8a29b317588 Mon Sep 17 00:00:00 2001 From: clach04 Date: Sat, 24 Jan 2026 19:57:13 -0800 Subject: [PATCH] Fix issue #5 - printf stdint macro --- tests/tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests.c b/tests/tests.c index e1df47a..b4a33e2 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -266,7 +266,7 @@ static int p_encrypt_decrypt(void) fsize = 0; } if (DEBUG) { - printf(YELLOW "\tFile size:" BLUE " %lu bytes\n", fsize); + printf(YELLOW "\tFile size:" BLUE " %" PRIu64 " bytes\n", fsize); } fillrand(data, fsize); fillrand(key, KEY_SIZE); @@ -428,7 +428,7 @@ int p_password_enc_dec(void) } if (DEBUG) { - printf(YELLOW "\tFile size:" BLUE " %lu bytes\n", fsize); + printf(YELLOW "\tFile size:" BLUE " %" PRIu64 " bytes\n", fsize); } fillrand(data, fsize);