GCC requires these kinds of casts to be explicit
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user