mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fixed warning, needs more work by @icculus
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user