X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bcd1ec333ac3ba7d36f2eed79fa52208b2514d84..d45318b8b6857ab6159b37c2f3ddce6a5f68be28:/src/unix/dlunix.cpp diff --git a/src/unix/dlunix.cpp b/src/unix/dlunix.cpp index 53e44b5dca..e812f56a9c 100644 --- a/src/unix/dlunix.cpp +++ b/src/unix/dlunix.cpp @@ -155,7 +155,7 @@ void *dlopen(const char *path, int WXUNUSED(mode) /* mode is ignored */) int dlclose(void *handle) { - NSUnLinkModule( handle, NSUNLINKMODULE_OPTION_NONE); + NSUnLinkModule((NSModule)handle, NSUNLINKMODULE_OPTION_NONE); return 0; } @@ -169,7 +169,7 @@ void *dlsym(void *handle, const char *symbol) p[0] = '_'; strcpy(p + 1, symbol); - NSSymbol nsSymbol = NSLookupSymbolInModule( handle, p ); + NSSymbol nsSymbol = NSLookupSymbolInModule((NSModule)handle, p ); return nsSymbol ? NSAddressOfSymbol(nsSymbol) : NULL; }