commit | 4894bf4e63d1495645c41589ecde27ce40b5bf68 | [log] [tgz] |
---|---|---|
author | Alberto Massari <amassari@apache.org> | Tue Jun 30 10:50:20 2009 +0000 |
committer | Alberto Massari <amassari@apache.org> | Tue Jun 30 10:50:20 2009 +0000 |
tree | 1943df850ad526fa06593d8bbd7e1de9b579709f | |
parent | 62b000e64c0a08f1bf1351a4aad4283b02b75455 [diff] |
Fix warning (XERCESC-1872) git-svn-id: https://svn.apache.org/repos/asf/xerces/c/branches/xerces-3.0@789674 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp b/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp index fb75693..ae868ec 100644 --- a/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp +++ b/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
@@ -392,7 +392,7 @@ // Using an empty string instead of NULL, will modify the libc // behavior. // - char* fLocalCP = setlocale (LC_CTYPE, NULL); + const char* fLocalCP = setlocale (LC_CTYPE, NULL); if (fLocalCP == NULL || *fLocalCP == 0 || strcmp (fLocalCP, "C") == 0 || strcmp (fLocalCP, "POSIX") == 0) {