version 1.16 | | version 1.17 |
---|
| | |
/* | | /* |
* static char *rcsid_anim_c = | | * static char *rcsid_anim_c = |
* "$Id: anim.c,v 1.16 2003/09/13 05:01:26 mwedel Exp $"; | | * "$Id: anim.c,v 1.17 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
search.name = name; | | search.name = name; |
| | |
match = (Animations*)bsearch(&search, animations, (num_animations+1), | | match = (Animations*)bsearch(&search, animations, (num_animations+1), |
sizeof(Animations), (int (*)())anim_compare); | | sizeof(Animations), (int (*)(const void*, const void*))anim_compare); |
| | |
| | |
if (match) return match->num; | | if (match) return match->num; |