mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 20:25:36 +00:00
locale: Fixed compiler warning on Visual Studio.
This commit is contained in:
parent
b4e76b58e7
commit
ba11122ea0
|
@ -78,7 +78,7 @@ SDL_SYS_GetPreferredLocales_vista(char *buf, size_t buflen)
|
|||
if (!pGetUserPreferredUILanguages(MUI_LANGUAGE_NAME, &numlangs, wbuf, &wbuflen)) {
|
||||
SDL_SYS_GetPreferredLocales_winxp(buf, buflen); /* oh well, try the fallback. */
|
||||
} else {
|
||||
const ULONG endidx = SDL_min(buflen, wbuflen - 1);
|
||||
const ULONG endidx = (ULONG) SDL_min(buflen, wbuflen - 1);
|
||||
ULONG str_start = 0;
|
||||
ULONG i;
|
||||
for (i = 0; i < endidx; i++) {
|
||||
|
|
Loading…
Reference in a new issue