From 2d7388d3e86cc692fb576902f71618c87d7e4b9c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 27 May 2008 16:34:50 +0000 Subject: [PATCH] Palm compiler needs const_cast for passing const int parameters to function taking int (part of ticket 4700) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/palmos/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/palmos/main.cpp b/src/palmos/main.cpp index 4e75c85aff..b79eb05b9b 100644 --- a/src/palmos/main.cpp +++ b/src/palmos/main.cpp @@ -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 -- 2.45.2