]> git.saurik.com Git - wxWidgets.git/commitdiff
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
authorJulian Smart <julian@anthemion.co.uk>
Sat, 17 May 2008 16:20:19 +0000 (16:20 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 17 May 2008 16:20:19 +0000 (16:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/app.cpp

index fd609a244ead681408132abdf39576401a544eb8..5012573d092f79037ffaa59050c9aa2950219725 100644 (file)
@@ -471,7 +471,7 @@ static bool UnregisterAndFreeClassName(const wxChar **ppClassName)
         retval = false;
     }
 
-    delete [] *ppClassName;
+    delete [] (wxChar*) *ppClassName;
     *ppClassName = NULL;
 
     return retval;