[autofit] Harmonize function arguments.

* src/autofit/afloader.c, src/autofit/afloader.h: Use `FT_Int32' for
`load_flags'.
This commit is contained in:
Werner Lemberg 2012-02-07 09:40:11 +01:00
parent 0b7daff031
commit e343e87d4f
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2012-02-07 Werner Lemberg <wl@gnu.org>
[autofit] Harmonize function arguments.
* src/autofit/afloader.c, src/autofit/afloader.h: Use `FT_Int32' for
`load_flags'.
2012-02-07 Werner Lemberg <wl@gnu.org>
* src/cff/cffobjs.c (cff_face_init): Remove unnecessary casts.

View File

@ -4,7 +4,7 @@
/* */
/* Auto-fitter glyph loading routines (body). */
/* */
/* Copyright 2003-2009, 2011 by */
/* Copyright 2003-2009, 2011-2012 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -480,7 +480,7 @@
af_loader_load_glyph( AF_Loader loader,
FT_Face face,
FT_UInt gindex,
FT_UInt32 load_flags )
FT_Int32 load_flags )
{
FT_Error error;
FT_Size size = face->size;

View File

@ -4,7 +4,7 @@
/* */
/* Auto-fitter glyph loading routines (specification). */
/* */
/* Copyright 2003-2005, 2011 by */
/* Copyright 2003-2005, 2011-2012 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -60,7 +60,7 @@ FT_BEGIN_HEADER
af_loader_load_glyph( AF_Loader loader,
FT_Face face,
FT_UInt gindex,
FT_UInt32 load_flags );
FT_Int32 load_flags );
/* */