@@ -54,11 +54,11 @@ @throw [OFInitializationFailedException exceptionWithClass: self]; [pool release]; - initPlugin = (OFPlugin*(*)(void))dlsym(handle, "init_plugin"); + *(void**)&initPlugin = dlsym(handle, "init_plugin"); if (initPlugin == NULL || (plugin = initPlugin()) == nil) { dlclose(handle); @throw [OFInitializationFailedException exceptionWithClass: self]; }