]> git.wh0rd.org Git - fontconfig.git/commitdiff
Cast strlen to int for printf, so we're 64-bit clean.
authorManish Singh <yosh@gimp.org>
Sun, 22 Feb 2004 02:21:37 +0000 (02:21 +0000)
committerManish Singh <yosh@gimp.org>
Sun, 22 Feb 2004 02:21:37 +0000 (02:21 +0000)
ChangeLog
fc-glyphname/fc-glyphname.c

index d532022e21013dee9b2db71bf12481413169503b..2087cca29bf4b49dfe19317e2707bae1a7831ad5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-21  Manish Singh  <yosh@gimp.org>
+
+       * fc-glyphname/fc-glyphname.c: (main):
+       Cast strlen to int for printf, so we're 64-bit clean.
+
 2004-02-11  Keith Packard  <keithp@keithp.com>
 
        * configure.in:
index 769f4beb4d2a4bc5acb7fc206347040a184e300e..01da041bae87ae5ebae8b4b822148b753b70cacf 100644 (file)
@@ -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);
 
     /*