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:
parent
8fd7108e7c
commit
c222ad41b2
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user