You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2002/02/18 17:07:39 UTC
cvs commit: xml-xerces/c/src/xercesc/util Base64.cpp
peiyongz 02/02/18 08:07:39
Modified: c/src/xercesc/util Base64.cpp
Log:
fix: "i" redefined on line 428 reported by compilers on some UNIX platforms
Revision Changes Path
1.3 +5 -2 xml-xerces/c/src/xercesc/util/Base64.cpp
Index: Base64.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Base64.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Base64.cpp 15 Feb 2002 21:36:56 -0000 1.2
+++ Base64.cpp 18 Feb 2002 16:07:38 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $Log: Base64.cpp,v $
+ * Revision 1.3 2002/02/18 16:07:38 peiyongz
+ * fix: "i" redefined on line 428 reported by compilers on some UNIX platforms
+ *
* Revision 1.2 2002/02/15 21:36:56 peiyongz
* Interface redefined for conversion in XMLByte
*
@@ -425,8 +428,8 @@
XMLCh *toRet = new XMLCh[decodedLen+1];
- for (unsigned int i = 0; i < decodedLen; i++)
- toRet[i] = (XMLCh)DecodedBuf[i];
+ for (unsigned int j = 0; j < decodedLen; j++)
+ toRet[j] = (XMLCh)DecodedBuf[j];
toRet[decodedLen] = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org