]> git.saurik.com Git - wxWidgets.git/commitdiff
Palm compiler needs const_cast for passing const int parameters to function taking...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 May 2008 16:34:50 +0000 (16:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 May 2008 16:34:50 +0000 (16:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/palmos/main.cpp

index 4e75c85aff22be51864d88428f85133eeb80c167..b79eb05b9bb374b46e5fd2d2b56330e4e5a713b2 100644 (file)
@@ -52,7 +52,7 @@ int wxEntry()
     // argv[] must be NULL-terminated
     argv[argc] = NULL;
 
-    return wxEntry(argc, argv);
+    return wxEntry(wx_const_cast(int, argc), argv);
 }
 
 #endif // wxUSE_GUI