summaryrefslogtreecommitdiff
path: root/library/Hooks-windows.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-21 18:19:17 +0100
committerPetr Mrázek2012-02-21 18:19:17 +0100
commit2cd2ee9b0cc10b79f264c3a9a4597f59835fd419 (patch)
tree7d95cbe0b7abd5d42990a15ed8b8d801a08a48ad /library/Hooks-windows.cpp
parent0b9e849096c95d68c6235c266560a2fb58908151 (diff)
downloaddfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.gz
dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.bz2
dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.xz
New plugin interface
Diffstat (limited to 'library/Hooks-windows.cpp')
-rw-r--r--library/Hooks-windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Hooks-windows.cpp b/library/Hooks-windows.cpp
index 51e19772..da95f395 100644
--- a/library/Hooks-windows.cpp
+++ b/library/Hooks-windows.cpp
@@ -46,7 +46,7 @@ namespace DFHack
}
void * LookupPlugin (DFLibrary * plugin ,const char * function)
{
- return (DFLibrary *) GetProcAddress((HMODULE)plugin, function);
+ return (void *) GetProcAddress((HMODULE)plugin, function);
}
void ClosePlugin (DFLibrary * plugin)
{