]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
Converting uninitialized data is not a Good Idea
[wxWidgets.git] / src / common / dynlib.cpp
index dc2fe27bea5ae00f6d8d19e998a0787860ebc7c5..3660cc21f81211392d5d2fddb3cf28be82a286d1 100644 (file)
@@ -255,7 +255,7 @@ wxDllLoader::LoadLibrary(const wxString & libname, bool *success)
     char zError[256] = "";
     wxDllOpen(zError, libname, handle);
 #else // !Mac
-    handle = wxDllOpen(libname.c_str());
+    handle = wxDllOpen(libname);
 #endif // OS
 
     if ( !handle )