[0.4.11][ACGENRAL] Fix a MSVC warning about a ShimLib_ShimFree() call (#1506) CORE-7538

Can be observed with MSVC2010SP1 x86-target dbg-config:
"...\ignorefreelib.c(125): error C4090: 'function': different 'const' qualifiers"

Addendum to 0.4.11-dev-740-g 007cc5cd8a
Older branches than releases/0.4.11 were not affected yet by this compiler warning.

Fix picked from:
0.4.13-dev-75-g a57bc4f6c3
This commit is contained in:
Joachim Henze 2022-03-15 15:04:12 +01:00
parent 8e1a9cfd69
commit 89f1d9d70d

View file

@ -122,7 +122,7 @@ fail:
--n;
}
ShimLib_ShimFree(names);
ShimLib_ShimFree((PVOID)names);
}
BOOL WINAPI SHIM_OBJ_NAME(Notify)(DWORD fdwReason, PVOID ptr)