X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23fb33aa4e15110d41b5a16fff438e44e0cb3ea9..4863e55108155a4e109e401407e01495ebf45b36:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index e7ca00816f..d0a11eac2f 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -2200,7 +2200,7 @@ wxString wxLocale::GetSystemEncodingName() // the environment variables (in most cases this won't work, but I was // out of ideas) char *lang = getenv( "LC_ALL"); - char *dot = lang ? strchr(lang, '.') : (char *)NULL; + char *dot = lang ? strchr(lang, '.') : NULL; if (!dot) { lang = getenv( "LC_CTYPE" );