diff options
author | Simon Howard | 2010-09-28 18:51:07 +0000 |
---|---|---|
committer | Simon Howard | 2010-09-28 18:51:07 +0000 |
commit | edf7efbea35087a6f56ed71ed6f5db613386d39d (patch) | |
tree | 39c0e0dca58bae3a518ea7b5463ce78741f00985 /src/strife/hu_stuff.c | |
parent | af6ee1723e009ff55e42fd257da03712ba7099f1 (diff) | |
download | chocolate-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.c | 4 |
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); } } |