summaryrefslogtreecommitdiff
path: root/src/strife/hu_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/hu_lib.c')
-rw-r--r--src/strife/hu_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/hu_lib.c b/src/strife/hu_lib.c
index 989c921b..2033c7b5 100644
--- a/src/strife/hu_lib.c
+++ b/src/strife/hu_lib.c
@@ -68,7 +68,7 @@ void HUlib_drawYellowText(int x, int y, char *text)
if(c >= 0 && c < HU_FONTSIZE)
{
- patch_t *patch = yfont[c];
+ patch_t *patch = yfont[(int) c];
int width = SHORT(patch->width);
if(x + width <= (SCREENWIDTH - 20))