Fix signed warning.

SVN revision: 32341
This commit is contained in:
Sebastian Dransfeld 2007-11-04 09:47:53 +00:00
parent c530619913
commit a50ee1d8c4
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ void imlib_font_modify_cache_by(ImlibFont * fn, int dir);
void imlib_font_modify_cache_by(ImlibFont * fn, int dir);
void imlib_font_flush_last(void);
ImlibFont *imlib_font_find(const char *name, int size);
ImlibFont *imlib_font_find_glyph(ImlibFont * fn, int gl, int *ret_index);
ImlibFont *imlib_font_find_glyph(ImlibFont * fn, int gl, unsigned int *ret_index);
void imlib_font_query_size(ImlibFont * fn, const char *text,
int *w, int *h);

View File

@ -253,7 +253,7 @@ imlib_render_str(ImlibImage * im, ImlibFont * fn, int drx, int dry,
* ret_index will be set to 0
*/
ImlibFont *
imlib_font_find_glyph(ImlibFont * first_fn, int gl, int *ret_index)
imlib_font_find_glyph(ImlibFont * first_fn, int gl, unsigned int *ret_index)
{
ImlibFont *fn = first_fn;