This is an automated email from the ASF dual-hosted git repository.

borisk pushed a commit to branch xerces-3.0
in repository https://gitbox.apache.org/repos/asf/xerces-c.git

commit 4894bf4e63d1495645c41589ecde27ce40b5bf68
Author: Alberto Massari <amass...@apache.org>
AuthorDate: Tue Jun 30 10:50:20 2009 +0000

    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
---
 src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ IconvGNUTransService::IconvGNUTransService(MemoryManager* 
manager)
     // 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) {


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to