summaryrefslogtreecommitdiff
path: root/src/strife/hu_stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/hu_stuff.c')
-rw-r--r--src/strife/hu_stuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strife/hu_stuff.c b/src/strife/hu_stuff.c
index 22d7b4f7..42a9dbb1 100644
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -343,7 +343,7 @@ void HU_addMessage(char *prefix, char *message)
if(c < 0 || c >= HU_FONTSIZE)
width += 4;
else
- width += SHORT(hu_font[c]->width);
+ width += SHORT(hu_font[(int) c]->width);
}
}
@@ -365,7 +365,7 @@ void HU_addMessage(char *prefix, char *message)
else
{
c -= HU_FONTSTART;
- width += SHORT(hu_font[c]->width);
+ width += SHORT(hu_font[(int) c]->width);
}
}