aboutsummaryrefslogtreecommitdiff
path: root/toys/other/pmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/pmap.c')
-rw-r--r--toys/other/pmap.c2
1 files changed, 1 insertions, 1 deletions
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 (;;) {