From ff0eb5a41eb7aa46922c7dab6653b680bd285480 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Sat, 8 Jan 2022 01:35:46 -0600 Subject: [PATCH] wolfcrypt/test/test.c: in wolfcrypt_test(), tweak formatting of CheckRunTimeSettings() to resolve invalidPrintfArgType_uint from cppcheck --force. --- wolfcrypt/test/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 057cb8e96..135740ef9 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -746,8 +746,8 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\ #if !defined(NO_BIG_INT) if (CheckCtcSettings() != 1) { - printf("Sizeof mismatch (build) %x != (run) %x\n", - CTC_SETTINGS, CheckRunTimeSettings()); + printf("Sizeof mismatch (build) %x != (run) %lx\n", + CTC_SETTINGS, (unsigned long)CheckRunTimeSettings()); return err_sys("Build vs runtime math mismatch\n", -1000); }