From: Paul Cornett Date: Fri, 21 Sep 2007 02:39:23 +0000 (+0000) Subject: build fix for AIX X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c222ad41b23c67d9a0b5b4de0b6a25b03a4974a2 build fix for AIX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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__