From 3c665f5dabbcf4fd8b42b5f97d653147a435d4d3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 31 Aug 2017 12:10:06 +0200 Subject: [PATCH] loplugin:constparams: setup_native (clang-cl) Change-Id: I36331a6caf560c7622f72c2fafa968522f44f5e9 --- .../source/win32/customactions/regactivex/regactivex.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );