From edf7efbea35087a6f56ed71ed6f5db613386d39d Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 28 Sep 2010 18:51:07 +0000 Subject: Fix compile warnings. Subversion-branch: /branches/strife-branch Subversion-revision: 2149 --- src/strife/hu_stuff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/strife/hu_stuff.c') 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); } } -- cgit v1.2.3