From c222ad41b23c67d9a0b5b4de0b6a25b03a4974a2 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 21 Sep 2007 02:39:23 +0000 Subject: [PATCH] build fix for AIX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 0a027c9971..784aa6253a 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1742,7 +1742,7 @@ bool wxLocale::Init(int language, int flags) // // this contradicts IBM own docs but this is not of much help, so just work // around it in the crudest possible manner - char *p = wxStrchr(retloc, ' '); + char* p = const_cast(wxStrchr(retloc, ' ')); if ( p ) *p = '\0'; #endif // __AIX__ -- 2.47.2