aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/core/hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/core/hooks.h')
-rw-r--r--NorthstarDLL/core/hooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/core/hooks.h b/NorthstarDLL/core/hooks.h
index d2cb7602..8721628a 100644
--- a/NorthstarDLL/core/hooks.h
+++ b/NorthstarDLL/core/hooks.h
@@ -197,7 +197,7 @@ class __autohook
case PROCADDRESS:
{
- targetAddr = GetProcAddress(GetModuleHandleA(pModuleName), pProcName);
+ targetAddr = (LPVOID)GetProcAddress(GetModuleHandleA(pModuleName), pProcName);
break;
}
}