summaryrefslogtreecommitdiff
path: root/sdlfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdlfont.c')
-rw-r--r--sdlfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdlfont.c b/sdlfont.c
index 5d6c0ff..c19bc84 100644
--- a/sdlfont.c
+++ b/sdlfont.c
@@ -168,7 +168,7 @@ int font_calculate_width(char *text, int cache)
{
int n, x;
FT_Glyph glyph;
- Uint16 c;
+ Uint32 c;
FT_UInt glyph_index;
/* Determine width of text */
@@ -226,7 +226,7 @@ SDL_Surface* font_render(char *text, int foreground)
int pass;
Uint32 *dst;
Uint32 colour;
- Uint16 c;
+ Uint32 c;
FT_UInt glyph_index;
FT_Bitmap* bitmap;