summaryrefslogtreecommitdiff
path: root/src/strife/hu_stuff.c
diff options
context:
space:
mode:
authorSimon Howard2010-09-28 18:51:07 +0000
committerSimon Howard2010-09-28 18:51:07 +0000
commitedf7efbea35087a6f56ed71ed6f5db613386d39d (patch)
tree39c0e0dca58bae3a518ea7b5463ce78741f00985 /src/strife/hu_stuff.c
parentaf6ee1723e009ff55e42fd257da03712ba7099f1 (diff)
downloadchocolate-doom-edf7efbea35087a6f56ed71ed6f5db613386d39d.tar.gz
chocolate-doom-edf7efbea35087a6f56ed71ed6f5db613386d39d.tar.bz2
chocolate-doom-edf7efbea35087a6f56ed71ed6f5db613386d39d.zip
Fix compile warnings.
Subversion-branch: /branches/strife-branch Subversion-revision: 2149
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);
}
}