diff options
Diffstat (limited to 'plugins/YAMN/src/main.cpp')
-rw-r--r-- | plugins/YAMN/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index bfca36fa74..56534ed10c 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -237,13 +237,13 @@ static void LoadPlugins() continue; } - if (!(*LoadFilter)(GetFcnPtrSvc)) { + if (!LoadFilter(GetFcnPtrSvc)) { FreeLibrary(hDll); hDll = NULL; } if (hDll != NULL) { - hDllPlugins = (HINSTANCE *)realloc((void *)hDllPlugins, (iDllPlugins+1)*sizeof(HINSTANCE)); + hDllPlugins = (HINSTANCE *)realloc(hDllPlugins, (iDllPlugins+1)*sizeof(HINSTANCE)); hDllPlugins[iDllPlugins++] = hDll; } } |