https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a57bc4f6c3a857bb1de98fd15265db83d8e456d8

commit a57bc4f6c3a857bb1de98fd15265db83d8e456d8
Author:     Serge Gautherie <[email protected]>
AuthorDate: Sun Apr 21 21:15:11 2019 +0200
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
CommitDate: Sun Apr 21 21:15:11 2019 +0200

    [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 01b472fc06..1d7c771382 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)

Reply via email to