]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utilsexc.cpp
fix crash which happened if you called SetAttr(NULL) followed by SetAttr(attr) (...
[wxWidgets.git] / src / os2 / utilsexc.cpp
index 36cb21733e6ba6f22ab5294ca9d9b8a1aac8998d..c50a311691f10f3c4bc540e3b5bda7ff5fc4dc97 100644 (file)
@@ -156,7 +156,7 @@ long wxExecute( const wxString& rCommand,
                       ,zArgs
                       ,zEnvs
                       ,&vResultCodes
-                      ,(PSZ)rCommand.c_str()
+                      ,rCommand.c_str()
                      );
     if (rc != NO_ERROR)
     {