aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-08-14 21:59:49 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-08-14 21:59:49 +0200
commit5bc2656c89af79d9fedc1d1150b43bb6dd2e5957 (patch)
tree47863f33473435fc0bedded9ec1498f8f60ae557 /include
parent23d2f670808933aa20448194b2a4ff26386d7905 (diff)
downloadsmall-utils-5bc2656c89af79d9fedc1d1150b43bb6dd2e5957.tar.gz
small-utils-5bc2656c89af79d9fedc1d1150b43bb6dd2e5957.tar.bz2
tree_based_check: fixes for debug build.
Diffstat (limited to 'include')
-rw-r--r--include/hex_conversion.h2
1 files changed, 1 insertions, 1 deletions
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;
}