From 5bc2656c89af79d9fedc1d1150b43bb6dd2e5957 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Thu, 14 Aug 2025 21:59:49 +0200 Subject: tree_based_check: fixes for debug build. --- include/hex_conversion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/hex_conversion.h b/include/hex_conversion.h index e232b8e..540472d 100644 --- a/include/hex_conversion.h +++ b/include/hex_conversion.h @@ -58,7 +58,7 @@ inline unsigned char *convert_to_binary(char *hex, unsigned char *out) { } if (out == NULL && ((out = calloc((length/2),sizeof(char))) == NULL)) { #ifdef DEBUGBUILD - LOGERR("ERROR: Failed to allocate %d bytes\n", (length/2)); + LOGERR("ERROR: Failed to allocate %lu bytes\n", (length/2)); #endif return NULL; } -- cgit v1.2.3-70-g09d2