From 3c9221948857feedd28f5c3be477a734f1024c56 Mon Sep 17 00:00:00 2001 From: jgromes Date: Wed, 1 Mar 2023 21:50:40 +0100 Subject: [PATCH] [MOD] Fixed print format (#685) --- src/Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module.cpp b/src/Module.cpp index 27e9471f..587b7f4f 100644 --- a/src/Module.cpp +++ b/src/Module.cpp @@ -717,7 +717,7 @@ void Module::hexdump(uint8_t* data, size_t len, uint32_t offset, uint8_t width, size_t rem_len = len; for(int32_t i = 0; i < len; i+=16) { char str[80]; - sprintf(str, "%07lx ", i+offset); + sprintf(str, "%07" PRIx32 " ", i+offset); size_t line_len = 16; if(rem_len < line_len) { line_len = rem_len;