mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
TextureDecoder: Fix warning: array subscript has type ‘char’ [-Wchar-subscripts]
This commit is contained in:
@ -271,7 +271,7 @@ static void TexDecoder_DrawOverlay(u8* dst, int width, int height, TextureFormat
|
|||||||
for (char ch : fmt_str)
|
for (char ch : fmt_str)
|
||||||
{
|
{
|
||||||
int xcnt = 0;
|
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
|
const unsigned char* ptr = sfont_raw[nchar]; // each char is up to 9x10
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user