aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/font.cpp
diff options
context:
space:
mode:
authorMax Horn2007-04-27 19:54:14 +0000
committerMax Horn2007-04-27 19:54:14 +0000
commitb4e196e4fd2f6efef5e109cf0e8449eb8ae50130 (patch)
tree15ce2e07abc4a0a33aa5cd29994522efa5e6331d /engines/cruise/font.cpp
parent4958b5862251e7106c9a2d5d8a71f2a737324f03 (diff)
downloadscummvm-rg350-b4e196e4fd2f6efef5e109cf0e8449eb8ae50130.tar.gz
scummvm-rg350-b4e196e4fd2f6efef5e109cf0e8449eb8ae50130.tar.bz2
scummvm-rg350-b4e196e4fd2f6efef5e109cf0e8449eb8ae50130.zip
Fixing lots of warnings
svn-id: r26617
Diffstat (limited to 'engines/cruise/font.cpp')
-rw-r--r--engines/cruise/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/font.cpp b/engines/cruise/font.cpp
index 37c3e8c2b3..5792f3f9ef 100644
--- a/engines/cruise/font.cpp
+++ b/engines/cruise/font.cpp
@@ -507,7 +507,7 @@ void drawString(int32 x, int32 y, uint8* string, uint8* buffer, uint8 color, int
{
character = *(string++);
- short int data = fontCharacterTable[character];
+ short int data = fontCharacterTable[(int)character];
if(character)
{
@@ -700,7 +700,7 @@ gfxEntryStruct* renderText(int inRightBorder_X, uint8* string)
{
character = *(string++);
- short int charData = fontCharacterTable[character]; // get character position
+ short int charData = fontCharacterTable[(int)character]; // get character position
if(character)
{