From 5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 1 Mar 2015 16:43:01 -0600 Subject: Fix several printf_format warnings. --- toys/other/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/pmap.c') diff --git a/toys/other/pmap.c b/toys/other/pmap.c index ab0b61cd..a93ea3ee 100644 --- a/toys/other/pmap.c +++ b/toys/other/pmap.c @@ -53,7 +53,7 @@ void pmap_main(void) if ((toys.optflags & (FLAG_q|FLAG_x)) == FLAG_x) xprintf("Address%*cKbytes PSS Dirty Swap Mode Mapping\n", - (sizeof(long)*2)-4, ' '); + (int)(sizeof(long)*2)-4, ' '); // Loop through mappings for (;;) { -- cgit v1.2.3