about summary refs log tree commit diff
path: root/mscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mscan.c')
-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: