summaryrefslogtreecommitdiff
path: root/src/windows/system.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-11-06 18:35:06 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-11-06 18:35:06 +0400
commitd42b3283be2af22701d1d992591dc3bf49d2283c (patch)
tree5e101a3d966ed3466052ecc69530c148c9283f64 /src/windows/system.c
parent04e84f9ef5f8a98467321f97872001fb8d5d34c7 (diff)
Silence MSVC warnings.
Diffstat (limited to 'src/windows/system.c')
-rw-r--r--src/windows/system.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows/system.c b/src/windows/system.c
index ebce9e3..ca3ada7 100644
--- a/src/windows/system.c
+++ b/src/windows/system.c
@@ -718,7 +718,8 @@ void Sys_Init(void)
#ifndef _WIN64
module = GetModuleHandle("kernel32.dll");
if (module) {
- pSetProcessDEPPolicy = GetProcAddress(module, "SetProcessDEPPolicy");
+ pSetProcessDEPPolicy = (PVOID)GetProcAddress(module,
+ "SetProcessDEPPolicy");
if (pSetProcessDEPPolicy) {
var = Cvar_Get("sys_disabledep", "0", CVAR_NOSET);