summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureDecoder.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-09-01 12:11:08 +0000
committernakeee <nakeee@gmail.com>2008-09-01 12:11:08 +0000
commit4bbfff3cac6d4f435df2de125c96f1f08f44463f (patch)
treee9f64dc9932f62645e9a6387d48ac27dd2cd673d /Source/Core/VideoCommon/Src/TextureDecoder.cpp
parentcad45aea724b8addacce18e99eec8bc4a170cbb2 (diff)
many warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@422 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp
index 1dd2c371fc..a7685f47a1 100644
--- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp
@@ -480,7 +480,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in
while(*fmt)
{
int xcnt = 0;
- int nchar = sfont_map[*fmt];
+ int nchar = sfont_map[(int)*fmt];
const unsigned char *ptr = sfont_raw[nchar]; // each char is up to 9x10