diff options
Diffstat (limited to 'src/xftdpy.c')
-rw-r--r-- | src/xftdpy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xftdpy.c b/src/xftdpy.c index f431ec1..bde7c65 100644 --- a/src/xftdpy.c +++ b/src/xftdpy.c @@ -171,7 +171,7 @@ _XftDisplayInfoGet (Display *dpy, FcBool createIfNecessary) XFT_MAX_GLYPH_MEMORY, 0, XFT_DPY_MAX_GLYPH_MEMORY); if (XftDebug () & XFT_DBG_CACHE) - printf ("global max cache memory %ld\n", info->max_glyph_memory); + printf ("global max cache memory %lu\n", info->max_glyph_memory); info->num_unref_fonts = 0; @@ -219,7 +219,7 @@ _XftDisplayValidateMemory (XftDisplayInfo *info) glyph_memory += font->glyph_memory; } if (glyph_memory != info->glyph_memory) - printf ("Display glyph cache incorrect has %ld bytes, should have %ld\n", + printf ("Display glyph cache incorrect has %lu bytes, should have %lu\n", info->glyph_memory, glyph_memory); } @@ -236,7 +236,7 @@ _XftDisplayManageMemory (Display *dpy) if (XftDebug () & XFT_DBG_CACHE) { if (info->glyph_memory > info->max_glyph_memory) - printf ("Reduce global memory from %ld to %ld\n", + printf ("Reduce global memory from %lu to %lu\n", info->glyph_memory, info->max_glyph_memory); _XftDisplayValidateMemory (info); } @@ -288,7 +288,7 @@ XftDefaultSet (Display *dpy, FcPattern *defaults) XFT_MAX_GLYPH_MEMORY, 0, (int)info->max_glyph_memory); if (XftDebug () & XFT_DBG_CACHE) - printf ("update max cache memory %ld\n", info->max_glyph_memory); + printf ("update max cache memory %lu\n", info->max_glyph_memory); if (!info->max_unref_fonts) info->max_unref_fonts = XFT_DPY_MAX_UNREF_FONTS; |