summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_native/source/win32/customactions/regactivex/regactivex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/regactivex/regactivex.cxx b/setup_native/source/win32/customactions/regactivex/regactivex.cxx
index db486d18e2b3..b0be045b7f25 100644
--- a/setup_native/source/win32/customactions/regactivex/regactivex.cxx
+++ b/setup_native/source/win32/customactions/regactivex/regactivex.cxx
@@ -58,7 +58,7 @@ BOOL UnicodeEquals( wchar_t const * pStr1, wchar_t const * pStr2 )
}
-char* UnicodeToAnsiString( wchar_t* pUniString )
+char* UnicodeToAnsiString( wchar_t const * pUniString )
{
int len = WideCharToMultiByte(
CP_ACP, 0, pUniString, -1, nullptr, 0, nullptr, nullptr );