From ea7f93b33696a0ee4a871f8009b5402ba7e96bb0 Mon Sep 17 00:00:00 2001 From: Michael Sprecher Date: Fri, 13 Apr 2018 18:33:46 +0200 Subject: [PATCH] fix printf format --- chasm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chasm.c b/chasm.c index 33bb5d3..0b9a216 100644 --- a/chasm.c +++ b/chasm.c @@ -693,8 +693,8 @@ int main(int argc, char *argv[]) { JSLFA(rc, Righthex[x]); memsum += rc; } - printf("%zu lines written\n", linecnt); - printf("%zu total memory used\n", memsum); + printf("%lu lines written\n", linecnt); + printf("%lu total memory used\n", memsum); return (0); }