GCC requires these kinds of casts to be explicit

This commit is contained in:
Ben "root" Anderson
2013-10-25 19:27:11 -05:00
parent ca295a8c80
commit 2109beeee3
+1 -1
View File
@@ -429,7 +429,7 @@ static bool IsExecutableProtection(DWORD dwProtect) {
// determine if READONLY/READWRITE should be considered 'executable.'
// XXX: Special logic for Win98? Really? This should be cut.
VirtualQuery(IsExecutableProtection, &meminfo, sizeof meminfo);
VirtualQuery( (LPCVOID) IsExecutableProtection, &meminfo, sizeof meminfo);
switch((unsigned char)dwProtect) {
case PAGE_READONLY: // *sigh* Win9x...