From 974b7fe6dfa8935a2068365e416b8d886f9d2a32 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 30 Sep 2016 15:05:12 +0200 Subject: clang-cl loplugin: sal Change-Id: If04d3f07dc8bffac8887773b5424c09848cd8f1a Reviewed-on: https://gerrit.libreoffice.org/29404 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sal/osl/w32/signal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/osl/w32/signal.cxx') diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx index 743d2b2fb8c8..a9fa84f7c86b 100644 --- a/sal/osl/w32/signal.cxx +++ b/sal/osl/w32/signal.cxx @@ -52,7 +52,7 @@ bool onInitSignal() HMODULE hFaultRep = LoadLibrary( "faultrep.dll" ); if ( hFaultRep ) { - pfn_ADDEREXCLUDEDAPPLICATIONW pfn = (pfn_ADDEREXCLUDEDAPPLICATIONW)GetProcAddress( hFaultRep, "AddERExcludedApplicationW" ); + pfn_ADDEREXCLUDEDAPPLICATIONW pfn = reinterpret_cast(GetProcAddress( hFaultRep, "AddERExcludedApplicationW" )); if ( pfn ) pfn( L"SOFFICE.EXE" ); FreeLibrary( hFaultRep ); -- cgit