build fix for AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
// this contradicts IBM own docs but this is not of much help, so just work
|
||||||
// around it in the crudest possible manner
|
// around it in the crudest possible manner
|
||||||
char *p = wxStrchr(retloc, ' ');
|
char* p = const_cast<char*>(wxStrchr(retloc, ' '));
|
||||||
if ( p )
|
if ( p )
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
#endif // __AIX__
|
#endif // __AIX__
|
||||||
|
|||||||
Reference in New Issue
Block a user