]> git.saurik.com Git - wxWidgets.git/commitdiff
type fixes
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 6 Feb 2005 16:26:13 +0000 (16:26 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 6 Feb 2005 16:26:13 +0000 (16:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/dlunix.cpp

index 53e44b5dca547165d0ea1589633986cee9777550..e812f56a9cb0eceeb38822c7f040769f35883dc6 100644 (file)
@@ -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;
 }