ref: 9f50873a8120383890993d233d409b3e1c004619
parent: 41f9d0d6eebc698a83394f1d97cfb206484ac740
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:30:18 EDT 2009
cache: Cast NULL to a required function type explicitly.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2009-07-31 suzuki toshiya <[email protected]>
+ cache: Cast NULL to a required function type explicitly.
+
+ * src/cache/ftcmanag.c (FTC_Manager_RemoveFaceID):
+ Insert explicit cast from NULL to function type.
+
+2009-07-31 suzuki toshiya <[email protected]>
+
fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly.
* include/freetype/fttypes.h (FT_MAKE_TAG):
--- a/src/cache/ftcmanag.c
+++ b/src/cache/ftcmanag.c
@@ -665,7 +665,9 @@
/* this will remove all FTC_SizeNode that correspond to
* the face_id as well
*/
- FTC_MruList_RemoveSelection( &manager->faces, NULL, face_id );
+ FTC_MruList_RemoveSelection( &manager->faces,
+ (FTC_MruNode_CompareFunc)NULL,
+ face_id );
for ( nn = 0; nn < manager->num_caches; nn++ )
FTC_Cache_RemoveFaceID( manager->caches[nn], face_id );