summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-01-07 08:18:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-01-07 09:48:17 +0100
commit2796d4ab5c3cc3637d04b33a5e7f0dad4c90d408 (patch)
tree67eda5b3a5adbbb5b034ebf0da886fff59aefcf6
parent982ecf4407854208a909898b8a69b1d8ca35d519 (diff)
loplugin:redundantcast
Change-Id: Ia68f492ebd4ac81feb44e736c53f0f4a2d99274d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128096 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sal/osl/w32/module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx
index 57eec8b70012..8379e14b2fd5 100644
--- a/sal/osl/w32/module.cxx
+++ b/sal/osl/w32/module.cxx
@@ -178,7 +178,7 @@ sal_Bool SAL_CALL osl_getModuleURLFromAddress( void *pv, rtl_uString **pustrURL
HMODULE hModule{};
GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
| GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
- reinterpret_cast<LPCWSTR>(pv), &hModule);
+ static_cast<LPCWSTR>(pv), &hModule);
if (!hModule)
return false;