Skip to content
Snippets Groups Projects
Commit bd0a4667 authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

Fix formatted string for ANSI C

parent da2b4f7e
No related branches found
No related tags found
No related merge requests found
...@@ -541,8 +541,8 @@ int CMP_MAIN(int argc, char **argv) ...@@ -541,8 +541,8 @@ int CMP_MAIN(int argc, char **argv)
if (size < 0) if (size < 0)
goto fail; goto fail;
if (size < (ssize_t)model_size) { if (size < (ssize_t)model_size) {
fprintf(stderr, "%s: %s: Error: The files do not contain enough data. Expected: 0x%x, has 0x%zx.\n", fprintf(stderr, "%s: %s: Error: The files do not contain enough data. Expected: 0x%x, has 0x%x.\n",
PROGRAM_NAME, model_file_name, model_size, size); PROGRAM_NAME, model_file_name, model_size, (uint32_t)size);
goto fail; goto fail;
} }
if (size != (ssize_t)model_size) { if (size != (ssize_t)model_size) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment