diff options
Diffstat (limited to 'backends/platform/sdl/win32/win32_wrapper.cpp')
-rw-r--r-- | backends/platform/sdl/win32/win32_wrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/sdl/win32/win32_wrapper.cpp b/backends/platform/sdl/win32/win32_wrapper.cpp index 844c6bad52..7efcb00aa1 100644 --- a/backends/platform/sdl/win32/win32_wrapper.cpp +++ b/backends/platform/sdl/win32/win32_wrapper.cpp @@ -81,7 +81,7 @@ bool confirmWindowsVersion(int majorVersion, int minorVersion) { return VerifyVersionInfoFunc(&versionInfo, VER_MAJORVERSION | VER_MINORVERSION, conditionMask); } -wchar_t *ansiToUnicode(const char *s, unsigned int codePage) { +wchar_t *ansiToUnicode(const char *s, uint codePage) { DWORD size = MultiByteToWideChar(codePage, 0, s, -1, NULL, 0); if (size > 0) { @@ -93,7 +93,7 @@ wchar_t *ansiToUnicode(const char *s, unsigned int codePage) { return NULL; } -char *unicodeToAnsi(const wchar_t *s, unsigned int codePage) { +char *unicodeToAnsi(const wchar_t *s, uint codePage) { DWORD size = WideCharToMultiByte(codePage, 0, s, -1, NULL, 0, 0, 0); if (size > 0) { @@ -105,7 +105,7 @@ char *unicodeToAnsi(const wchar_t *s, unsigned int codePage) { return NULL; } -unsigned int getCurrentCharset() { +uint getCurrentCharset() { #ifdef USE_TRANSLATION Common::String charset = TransMan.getCurrentCharset(); if (charset == "iso-8859-2") |