commit 6be8562ba50a4c27de57fb1114cb2ab26e03ef71 parent 4061919538066613fda877f4f77f66098631e156 Author: FRIGN <dev@frign.de> Date: Tue, 1 Dec 2015 17:03:57 +0100 Use proper printf-modifier for size_t Diffstat:
M | ed.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ed.c b/ed.c @@ -472,7 +472,7 @@ doread(char *fname) */ inject(s); } - printf("%d\n", cnt); + printf("%zu\n", cnt); free(s); if (fclose(fp)) error("input/output error");