X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23213f1811f2743efc9360d0b4b3a90a98d2b7e5..bdb2ce96bbccfe70bf8d5570619b00195db7663b:/src/common/dynload.cpp diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index 2255145493..490ca392d7 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -242,7 +242,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const symbol = NSAddressOfSymbol( NSLookupAndBindSymbol( name.c_str() ) ); #elif defined(__WINDOWS__) - symbol = ::GetProcAddress( m_handle, name.mb_str() ); + symbol = (void*) ::GetProcAddress( m_handle, name.mb_str() ); #else #error "runtime shared lib support not implemented"