summaryrefslogtreecommitdiffstats
path: root/clib/src/crc32_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'clib/src/crc32_main.c')
-rw-r--r--clib/src/crc32_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clib/src/crc32_main.c b/clib/src/crc32_main.c
index d848eab..889d096 100644
--- a/clib/src/crc32_main.c
+++ b/clib/src/crc32_main.c
@@ -65,7 +65,7 @@ int main(int argc, const char *argv[])
void *in_buf = mmap(NULL, filesize, PROT_READ, MAP_PRIVATE, fd, 0);
if (in_buf == MAP_FAILED) {
/* FIXME could still try to use read().... */
- printf("mmap %d failed: %s\n", filesize, strerror(errno));
+ printf("mmap %d failed: %s\n", (uint32_t)filesize, strerror(errno));
return 1;
}
OpenPOWER on IntegriCloud