aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-04 22:39:51 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-04 22:39:51 +0200
commit2c3a1c00492ece7df150e743e8288d16ba0f0224 (patch)
tree09a2aaa4523f4c5d0806e0d42cd8a74fc897a663
parent5aafeb8550744029ae9dda33180fd7a128cede78 (diff)
downloadmblaze-2c3a1c00492ece7df150e743e8288d16ba0f0224.tar.gz
mscan: silence a warning
-rw-r--r--mscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mscan.c b/mscan.c
index 543c642..ee8f5ec 100644
--- a/mscan.c
+++ b/mscan.c
@@ -401,7 +401,7 @@ oneline(char *file)
b++;
if (*b == '.')
b++;
- wleft -= printf("%*.*s", w, e-b, b);
+ wleft -= printf("%*.*s", w, (int)(e-b), b);
}
break;
default: