From a50ee1d8c478a959cae91753dcfa9606f52dc201 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Sun, 4 Nov 2007 09:47:53 +0000 Subject: [PATCH] Fix signed warning. SVN revision: 32341 --- src/lib/font.h | 2 +- src/lib/font_draw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/font.h b/src/lib/font.h index 054fc8b..ef1dbf0 100644 --- a/src/lib/font.h +++ b/src/lib/font.h @@ -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); diff --git a/src/lib/font_draw.c b/src/lib/font_draw.c index 8d532c7..c700a99 100644 --- a/src/lib/font_draw.c +++ b/src/lib/font_draw.c @@ -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;