Remove compiler warning.
Reported by Sean McBride <sean@rogue-research.com>. * src/tools/apinames.c (read_header_file)<STATE_TYPE>: Use a cast to `int', as specified in the printf(3) man page.
This commit is contained in:
parent
012552f143
commit
c6e4180c05
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,11 @@
|
|||
2009-11-04 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Remove compiler warning.
|
||||
Reported by Sean McBride <sean@rogue-research.com>.
|
||||
|
||||
* src/tools/apinames.c (read_header_file)<STATE_TYPE>: Use a cast to
|
||||
`int', as specified in the printf(3) man page.
|
||||
|
||||
2009-11-04 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix Savannah bug #27921.
|
||||
|
@ -6510,8 +6518,8 @@
|
|||
|
||||
2006-12-08 Vladimir Volovich <vvv@vsu.ru>
|
||||
|
||||
* src/tools/apinames (State): Remove final comma in structure -- xlc
|
||||
v5 under AIX 4.3 doesn't like this.
|
||||
* src/tools/apinames.c (State): Remove final comma in structure --
|
||||
xlc v5 under AIX 4.3 doesn't like this.
|
||||
|
||||
2006-12-07 David Turner <david@freetype.org>
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* accepted if you are using GCC for compilation (and probably by
|
||||
* other compilers too).
|
||||
*
|
||||
* Author: David Turner, 2005, 2006, 2008
|
||||
* Author: David Turner, 2005, 2006, 2008, 2009
|
||||
*
|
||||
* This code is explicitly placed into the public domain.
|
||||
*
|
||||
|
@ -265,7 +265,7 @@ read_header_file( FILE* file, int verbose )
|
|||
if ( p > name )
|
||||
{
|
||||
if ( verbose )
|
||||
fprintf( stderr, ">>> %.*s\n", p-name, name );
|
||||
fprintf( stderr, ">>> %.*s\n", (int)(p - name), name );
|
||||
|
||||
names_add( name, p );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue