diff options
Diffstat (limited to 'include/hex_conversion.h')
| -rw-r--r-- | include/hex_conversion.h | 2 |
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; } |
