summaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/memusagestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/memusagestat.c b/malloc/memusagestat.c
index cd14eb5997..2b16b01ded 100644
--- a/malloc/memusagestat.c
+++ b/malloc/memusagestat.c
@@ -405,7 +405,7 @@ main (int argc, char *argv[])
}
- snprintf (buf, sizeof (buf), "%llu", total);
+ snprintf (buf, sizeof (buf), "%llu", (unsigned long long) total);
gdImageString (im_out, gdFontSmall, xsize - 50, ysize - 14, buf, blue);
if (!time_based)