Browse code

bb11743 - fix compiler warning. Patch contributed by Ruga.

Steven Morgan authored on 2017/02/11 02:59:23
Showing 1 changed files
... ...
@@ -547,7 +547,7 @@ static void unmap_mmap(fmap_t *m)
547 547
     size_t len = m->pages * m->pgsz + m->hdrsz;
548 548
     fmap_lock;
549 549
     if (munmap((void *)m, len) == -1) /* munmap() failed */
550
-        cli_warnmsg("funmap: unable to unmap memory segment at address: %p with length: %d\n", (void *)m, len);
550
+        cli_warnmsg("funmap: unable to unmap memory segment at address: %p with length: %zu\n", (void *)m, len);
551 551
     fmap_unlock;
552 552
 #endif
553 553
 }