]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix for AIX
authorPaul Cornett <paulcor@bullseye.com>
Fri, 21 Sep 2007 02:39:23 +0000 (02:39 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 21 Sep 2007 02:39:23 +0000 (02:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index 0a027c9971795319ac8095aa902605fa48a1bd5a..784aa6253a60e618868a3af5083e71f7840b3118 100644 (file)
@@ -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<char*>(wxStrchr(retloc, ' '));
     if ( p )
         *p = '\0';
 #endif // __AIX__