cache: Cast NULL to a required function type explicitly.

This commit is contained in:
suzuki toshiya 2009-07-03 18:01:23 +09:00
parent e4831fc3c3
commit 6867d87ca8
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
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 <mpsuzuki@hiroshima-u.ac.jp>
fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly.

View File

@ -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 );