summaryrefslogtreecommitdiffstats
path: root/clib/src/crc32_main.c
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2015-02-18 16:14:28 -0600
committerAdriana Kobylak <anoo@us.ibm.com>2015-02-18 16:14:28 -0600
commit76ce4aadee1a7a890001affed54a0fb1110b1793 (patch)
tree14a358904909e8fe0f631d414333c26de81e5042 /clib/src/crc32_main.c
parentaa8354ef7ee6606fe32453e3eedce9af8038230a (diff)
downloadffs-76ce4aadee1a7a890001affed54a0fb1110b1793.tar.gz
ffs-76ce4aadee1a7a890001affed54a0fb1110b1793.zip
Support to compile in 64bit for Ubuntu Little Endian
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