From: Manish Singh Date: Sun, 22 Feb 2004 02:21:37 +0000 (+0000) Subject: Cast strlen to int for printf, so we're 64-bit clean. X-Git-Tag: fc-2_2_93~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=de66e750a5c5798dab5347675d6581183efa8105;p=fontconfig.git Cast strlen to int for printf, so we're 64-bit clean. --- diff --git a/ChangeLog b/ChangeLog index d532022..2087cca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-02-21 Manish Singh + + * fc-glyphname/fc-glyphname.c: (main): + Cast strlen to int for printf, so we're 64-bit clean. + 2004-02-11 Keith Packard * configure.in: 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); /*