]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed compile error (seen on OS/2).
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 24 Aug 2003 10:19:37 +0000 (10:19 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 24 Aug 2003 10:19:37 +0000 (10:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index 8dcb64784cb1c9d31f0465388d4c3077d0b04bd0..b872663c75ee3108fe8496bc11913e76c5b9aa57 100644 (file)
@@ -1384,7 +1384,7 @@ wxString wxLocale::GetSystemEncodingName()
     // to Unix98)
     char *oldLocale = strdup(setlocale(LC_CTYPE, NULL));
     setlocale(LC_CTYPE, "");
-    char *alang = nl_langinfo(CODESET);
+    const char *alang = nl_langinfo(CODESET);
     setlocale(LC_CTYPE, oldLocale);
     free(oldLocale);