mirror of https://github.com/libsdl-org/SDL.git
Fixed warning, needs more work by @icculus
This commit is contained in:
parent
bcd2807065
commit
8acb91936a
|
|
@ -154,7 +154,7 @@ static char *CaseFoldUtf8String(const char *fname)
|
|||
SDL_assert(num_folded <= SDL_arraysize(folded));
|
||||
for (int i = 0; i < num_folded; i++) {
|
||||
SDL_assert(written < allocation);
|
||||
retval[written++] = folded[i];
|
||||
retval[written++] = (char)folded[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue