summaryrefslogtreecommitdiff
path: root/fc-glyphname
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-02-22 02:21:37 +0000
committerManish Singh <yosh@gimp.org>2004-02-22 02:21:37 +0000
commitde66e750a5c5798dab5347675d6581183efa8105 (patch)
treee68879c6aad230fdf7134f940455a836d80235a2 /fc-glyphname
parent208a720f009357449647a56d6fe95a5a346a6578 (diff)
Cast strlen to int for printf, so we're 64-bit clean.
Diffstat (limited to 'fc-glyphname')
-rw-r--r--fc-glyphname/fc-glyphname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-glyphname/fc-glyphname.c b/fc-glyphname/fc-glyphname.c
index 769f4be..01da041 100644
--- a/fc-glyphname/fc-glyphname.c
+++ b/fc-glyphname/fc-glyphname.c
@@ -286,7 +286,7 @@ main (int argc, char **argv)
for (i = 0; i < nraw; i++)
printf ("static struct { FcChar32 ucs; FcChar8 name[%d]; }"
" glyph%d = { 0x%lx, \"%s\" };\n",
- strlen (raw[i]->name) + 1,
+ (int) strlen (raw[i]->name) + 1,
i, (unsigned long) raw[i]->ucs, raw[i]->name);
/*