You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2009/06/30 12:50:21 UTC

svn commit: r789674 - /xerces/c/branches/xerces-3.0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp

Author: amassari
Date: Tue Jun 30 10:50:20 2009
New Revision: 789674

URL: http://svn.apache.org/viewvc?rev=789674&view=rev
Log:
Fix warning (XERCESC-1872)

Modified:
    xerces/c/branches/xerces-3.0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp

Modified: xerces/c/branches/xerces-3.0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-3.0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp?rev=789674&r1=789673&r2=789674&view=diff
==============================================================================
--- xerces/c/branches/xerces-3.0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp (original)
+++ xerces/c/branches/xerces-3.0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp Tue Jun 30 10:50:20 2009
@@ -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) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org