From 2109beeee3ff459896acfd5cdd1c0e9b78cd7a44 Mon Sep 17 00:00:00 2001 From: "Ben \"root\" Anderson" Date: Fri, 25 Oct 2013 19:27:11 -0500 Subject: [PATCH] GCC requires these kinds of casts to be explicit --- src/archutils/Win32/Crash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archutils/Win32/Crash.cpp b/src/archutils/Win32/Crash.cpp index d2ef17ef6a..bc71a14339 100644 --- a/src/archutils/Win32/Crash.cpp +++ b/src/archutils/Win32/Crash.cpp @@ -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...