X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b9ab0bd824b6b9c93849928d67de1ec71e7c167..fe1bdf10a61ddc1f3455e5a9a22ca04a8f38eec2:/src/common/dynlib.cpp diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 025667914b..6b824855ad 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -268,7 +268,7 @@ wxDllType wxDllLoader::LoadLibrary(const wxString & libname, bool *success) wxString msg(_("Failed to load shared library '%s'")); #ifdef HAVE_DLERROR - wxChar *err = dlerror(); + const wxChar *err = dlerror(); if( err ) { failed = TRUE; @@ -327,7 +327,7 @@ void *wxDllLoader::GetSymbol(wxDllType dllHandle, const wxString &name, bool *su wxString msg(_("wxDllLoader failed to GetSymbol '%s'")); #ifdef HAVE_DLERROR - wxChar *err = dlerror(); + const wxChar *err = dlerror(); if( err ) { failed = TRUE;