ref: 4511576ba77ede8b38b5166e934c1edbdb446a21
parent: 4b5661c3868134f4fa7c5e2c840e55beed2d26bd
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Fri Oct 28 11:39:58 EDT 2005
fix invalid cast from NULL to integer typed variables
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-28 suzuki toshiya <[email protected]>
+
+ * 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 <[email protected]>
* include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed.
--- a/src/base/ftmac.c
+++ b/src/base/ftmac.c
@@ -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;