From f595e889b91a674eb94db7ca4d832da54f5194cd Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 17 Aug 2017 15:01:09 +0200 Subject: Use int64_t for public file API offsets. Don't mess with conditional compilation with LARGEFILE -- always expose 64-bit file offsets in our public API. --- source/tools/mudraw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/tools/mudraw.c') diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c index f7b87626..c9c7bb55 100644 --- a/source/tools/mudraw.c +++ b/source/tools/mudraw.c @@ -2022,9 +2022,9 @@ int mudraw_main(int argc, char **argv) if (showmemory) { - fprintf(stderr, "Total memory use = " FZ_FMT_zu " bytes\n", info.total); - fprintf(stderr, "Peak memory use = " FZ_FMT_zu " bytes\n", info.peak); - fprintf(stderr, "Current memory use = " FZ_FMT_zu " bytes\n", info.current); + char buf[100]; + fz_snprintf(buf, sizeof buf, "Memory use total=%zu peak=%zu current=%zu", info.total, info.peak, info.current); + fprintf(stderr, "%s\n", buf); } return (errored != 0); -- cgit v1.2.3