From a57bc4f6c3a857bb1de98fd15265db83d8e456d8 Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Sun, 21 Apr 2019 21:15:11 +0200 Subject: [PATCH] [ACGENRAL] Fix MSVC warning C4090 "different 'const' qualifiers" about a ShimLib_ShimFree() call (#1506) Addendum to 007cc5cd. CORE-7538 --- dll/appcompat/shims/genral/ignorefreelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/appcompat/shims/genral/ignorefreelib.c b/dll/appcompat/shims/genral/ignorefreelib.c index 01b472fc069..1d7c771382d 100644 --- a/dll/appcompat/shims/genral/ignorefreelib.c +++ b/dll/appcompat/shims/genral/ignorefreelib.c @@ -122,7 +122,7 @@ fail: --n; } - ShimLib_ShimFree(names); + ShimLib_ShimFree((PVOID)names); } BOOL WINAPI SHIM_OBJ_NAME(Notify)(DWORD fdwReason, PVOID ptr)