Fixed compilation with plugins enabled on Windows.

This commit is contained in:
Volker Ruppert 2021-02-27 13:15:37 +00:00
parent 2aadd3e470
commit 3209b04d82

View File

@ -372,7 +372,8 @@ void plugins_search(void)
plugin_entry = (plugin_entry_t) GetProcAddress(handle, tmpname);
if (plugin_entry != NULL) {
type = (Bit16u) plugin_entry(NULL, PLUGTYPE_NULL, PLUGIN_PROBE);
plugin_add_entry(pgn_name, type);
flags = (Bit8u) plugin_entry(NULL, PLUGTYPE_NULL, PLUGIN_FLAGS);
plugin_add_entry(pgn_name, type, flags);
}
FreeLibrary(handle);
}