diff --git a/core/systems/PluginSys.cpp b/core/systems/PluginSys.cpp index 1a7b5520..8e0c1e83 100644 --- a/core/systems/PluginSys.cpp +++ b/core/systems/PluginSys.cpp @@ -1867,7 +1867,7 @@ void CPluginManager::RegisterNativesFromCore(sp_nativeinfo_t *natives) { for (unsigned int i = 0; natives[i].func != NULL; i++) { - sm_trie_insert(m_pCoreNatives, natives[i].name, natives[i].func); + sm_trie_insert(m_pCoreNatives, natives[i].name, (void *)natives[i].func); } }