Cast strlen to int for printf, so we're 64-bit clean.
This commit is contained in:
parent
208a720f00
commit
de66e750a5
|
@ -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>
|
2004-02-11 Keith Packard <keithp@keithp.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
|
|
@ -286,7 +286,7 @@ main (int argc, char **argv)
|
||||||
for (i = 0; i < nraw; i++)
|
for (i = 0; i < nraw; i++)
|
||||||
printf ("static struct { FcChar32 ucs; FcChar8 name[%d]; }"
|
printf ("static struct { FcChar32 ucs; FcChar8 name[%d]; }"
|
||||||
" glyph%d = { 0x%lx, \"%s\" };\n",
|
" 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);
|
i, (unsigned long) raw[i]->ucs, raw[i]->name);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue