diff --git a/Source/Core/VideoCommon/TextureDecoder_Common.cpp b/Source/Core/VideoCommon/TextureDecoder_Common.cpp index 30121aeb7b..01af14a649 100644 --- a/Source/Core/VideoCommon/TextureDecoder_Common.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_Common.cpp @@ -271,7 +271,7 @@ static void TexDecoder_DrawOverlay(u8* dst, int width, int height, TextureFormat for (char ch : fmt_str) { int xcnt = 0; - int nchar = sfont_map[ch]; + int nchar = sfont_map[static_cast(ch)]; const unsigned char* ptr = sfont_raw[nchar]; // each char is up to 9x10