summaryrefslogtreecommitdiff
path: root/source/fitz/draw-glyph.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-24 11:39:47 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 12:02:58 +0200
commit1724a8ccd667c6ec468e2e8a01161c32bf59d706 (patch)
tree9fc69a8342e21422c8ab96da524588c605530b5a /source/fitz/draw-glyph.c
parent147b081bde160f879b941ad1f2a46c643f5da414 (diff)
downloadmupdf-1724a8ccd667c6ec468e2e8a01161c32bf59d706.tar.xz
Rename FMT_zu to FZ_FMT_zu.
Don't use FMT_zu macro for fz_throw/fz_warn, since we can portably handle '%zu' in our own printf formatting.
Diffstat (limited to 'source/fitz/draw-glyph.c')
-rw-r--r--source/fitz/draw-glyph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/draw-glyph.c b/source/fitz/draw-glyph.c
index bfd0af40..ffe0d44b 100644
--- a/source/fitz/draw-glyph.c
+++ b/source/fitz/draw-glyph.c
@@ -455,8 +455,8 @@ fz_dump_glyph_cache_stats(fz_context *ctx)
{
fz_glyph_cache *cache = ctx->glyph_cache;
- fprintf(stderr, "Glyph Cache Size: " FMT_zu "\n", cache->total);
+ fz_write_printf(ctx, fz_stderr(ctx), "Glyph Cache Size: %zu\n", cache->total);
#ifndef NDEBUG
- fprintf(stderr, "Glyph Cache Evictions: %d (" FMT_zu " bytes)\n", cache->num_evictions, cache->evicted);
+ fz_write_printf(ctx, fz_stderr(ctx), "Glyph Cache Evictions: %d (%zu bytes)\n", cache->num_evictions, cache->evicted);
#endif
}