From 6867d87ca87fa640995e1b107c06255ca280fbc8 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Fri, 3 Jul 2009 18:01:23 +0900 Subject: [PATCH] cache: Cast NULL to a required function type explicitly. --- ChangeLog | 7 +++++++ src/cache/ftcmanag.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f0e7d5693..e44ba02d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-03 suzuki toshiya + + 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-03 suzuki toshiya fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly. diff --git a/src/cache/ftcmanag.c b/src/cache/ftcmanag.c index 831c27b7f..8436bd0ff 100644 --- 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 );