summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-31 12:10:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-31 12:14:40 +0200
commit3c665f5dabbcf4fd8b42b5f97d653147a435d4d3 (patch)
tree05c6afa8c81fca72321a393a930c88be2119ac56 /setup_native
parentf27e98f9a73c44896aba8306cbaa645cf28a8950 (diff)
loplugin:constparams: setup_native (clang-cl)
Change-Id: I36331a6caf560c7622f72c2fafa968522f44f5e9
Diffstat (limited to 'setup_native')
-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 );