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:43:51 UTC
svn commit: r789667 -
/xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
Author: amassari
Date: Tue Jun 30 10:43:51 2009
New Revision: 789667
URL: http://svn.apache.org/viewvc?rev=789667&view=rev
Log:
Fix warning (XERCESC-1872)
Modified:
xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
Modified: xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp?rev=789667&r1=789666&r2=789667&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp Tue Jun 30 10:43:51 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