summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_Common.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-02-10 21:21:15 +1300
committerGitHub <noreply@github.com>2023-02-10 21:21:15 +1300
commitdad7a32a35d0d28946c16e740692d014a858d2ea (patch)
tree1422619a72cdcdf51e1d1e60509859f664d2d762 /Source/Core/VideoCommon/TextureDecoder_Common.cpp
parenta88e5ef3907e79ed20ab67e4df45c36e6ab2b909 (diff)
parent3024ca2146cfdae2e7fb231e8d180dfc81e1a74e (diff)
Merge pull request #11534 from Pokechu22/warning-fixes-feb-2023
Resolve various compiler warnings
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Common.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_Common.cpp2
1 files changed, 1 insertions, 1 deletions
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<u8>(ch)];
const unsigned char* ptr = sfont_raw[nchar]; // each char is up to 9x10