summaryrefslogtreecommitdiff
path: root/source/tools/muraster.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-08-17 15:01:09 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-11-01 13:08:56 +0100
commitf595e889b91a674eb94db7ca4d832da54f5194cd (patch)
tree273b4a7cc465477e428d0c628a19a61301baaae0 /source/tools/muraster.c
parent2910531c99e80bede06d2f1460459e8f6ce79961 (diff)
downloadmupdf-f595e889b91a674eb94db7ca4d832da54f5194cd.tar.xz
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.
Diffstat (limited to 'source/tools/muraster.c')
-rw-r--r--source/tools/muraster.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/tools/muraster.c b/source/tools/muraster.c
index 6e65f7b2..e48b8b09 100644
--- a/source/tools/muraster.c
+++ b/source/tools/muraster.c
@@ -1728,9 +1728,9 @@ int 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);