fix invalid cast from NULL to integer typed variables

This commit is contained in:
Suzuki, Toshiya (鈴木俊哉) 2005-10-28 15:39:58 +00:00
parent 4b5661c386
commit 4511576ba7
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* src/base/ftmac.c: fix invalid casts from NULL to integer typed
variables. Advised by David Turner, Masatake YAMATO, Sean McBride
and George Williams.
2005-10-27 Werner Lemberg <wl@gnu.org>
* include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed.

View File

@ -838,8 +838,8 @@
OSStatus status = FMCreateFontFamilyIterator( NULL, NULL,
options,
&famIter );
FMFont the_font = NULL;
FMFontFamily family = NULL;
FMFont the_font = 0;
FMFontFamily family = 0;
*face_index = 0;