From 5881791817debc8915611f7b66c5b5d563037100 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Sun, 30 Jun 2019 21:54:37 +0200 Subject: [PATCH] win32: yabf --- core/log/StringUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/log/StringUtil.h b/core/log/StringUtil.h index f1ab11767..abfe6028b 100644 --- a/core/log/StringUtil.h +++ b/core/log/StringUtil.h @@ -134,7 +134,7 @@ std::wstring CPToUTF16(u32 code_page, const std::string& input) std::string UTF16ToCP(u32 code_page, const std::wstring& input) { - bool usedDefaultChar; + int usedDefaultChar; auto const size = WideCharToMultiByte(code_page, 0, input.data(), static_cast(input.size()), nullptr, 0, nullptr, &usedDefaultChar);