You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2008/03/06 22:46:59 UTC

svn commit: r634429 - /xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp

Author: jberry
Date: Thu Mar  6 13:46:56 2008
New Revision: 634429

URL: http://svn.apache.org/viewvc?rev=634429&view=rev
Log:
Fix build of MacOSUnicodeConverter

Modified:
    xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp

Modified: xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp?rev=634429&r1=634428&r2=634429&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp Thu Mar  6 13:46:56 2008
@@ -717,8 +717,8 @@
 	while (srcCnt > 0)
     {
         TempXMLBuf tmpBuf;
-        unsigned int bytesConsumed = 0;
-		unsigned int charsProduced = mTranscoder->transcodeFrom((XMLByte*)src, srcCnt,
+        XMLSize_t bytesConsumed = 0;
+		XMLSize_t charsProduced = mTranscoder->transcodeFrom((XMLByte*)src, srcCnt,
 														tmpBuf, kTempBufCount,
 														bytesConsumed,
 														NULL);
@@ -764,8 +764,8 @@
     while (srcCnt > 0)
     {
         TempCharBuf tmpBuf;
-        unsigned int charsConsumed = 0;
-		unsigned int bytesProduced = mTranscoder->transcodeTo(src, srcCnt,
+        XMLSize_t charsConsumed = 0;
+		XMLSize_t bytesProduced = mTranscoder->transcodeTo(src, srcCnt,
                                             (XMLByte*)tmpBuf, kTempBufCount,
                                             charsConsumed,
                                             XMLTranscoder::UnRep_RepChar);
@@ -808,8 +808,8 @@
     {
 		//  Transcode some characters
         TempCharBuf tmpBuf;
-        unsigned int charsConsumed = 0;
-        unsigned int bytesProduced = mTranscoder->transcodeTo(src, srcCnt,
+        XMLSize_t charsConsumed = 0;
+        XMLSize_t bytesProduced = mTranscoder->transcodeTo(src, srcCnt,
                                             (XMLByte*)tmpBuf, kTempBufCount,
                                             charsConsumed,
                                             XMLTranscoder::UnRep_RepChar);
@@ -884,8 +884,8 @@
     {
         //  Transcode some characters
 		TempXMLBuf tmpBuf;
-        unsigned int bytesConsumed = 0;
-		unsigned int charsProduced = mTranscoder->transcodeFrom((XMLByte*)src, srcCnt,
+        XMLSize_t bytesConsumed = 0;
+		XMLSize_t charsProduced = mTranscoder->transcodeFrom((XMLByte*)src, srcCnt,
 												tmpBuf, kTempBufCount,
 												bytesConsumed,
 												NULL);
@@ -956,9 +956,9 @@
 	XMLMutexLock lock(&mMutex);
 
     //  Call the transcoder to do the work
-    unsigned int srcLen = std::strlen(toTranscode);
-    unsigned int bytesConsumed = 0;
-    unsigned int charsProduced = mTranscoder->transcodeFrom((XMLByte*)toTranscode, srcLen,
+    XMLSize_t srcLen = std::strlen(toTranscode);
+    XMLSize_t bytesConsumed = 0;
+    XMLSize_t charsProduced = mTranscoder->transcodeFrom((XMLByte*)toTranscode, srcLen,
                                             toFill, maxChars,
 											bytesConsumed,
 											NULL);
@@ -991,9 +991,9 @@
 	XMLMutexLock lock(&mMutex);
 
     //  Call the transcoder to do the work
-    unsigned int srcLen = XMLString::stringLen(toTranscode);
-    unsigned int charsConsumed = 0;
-    unsigned int bytesProduced = mTranscoder->transcodeTo(toTranscode, srcLen,
+    XMLSize_t srcLen = XMLString::stringLen(toTranscode);
+    XMLSize_t charsConsumed = 0;
+    XMLSize_t bytesProduced = mTranscoder->transcodeTo(toTranscode, srcLen,
                                             (XMLByte*)toFill, maxChars,
                                             charsConsumed,
                                             XMLTranscoder::UnRep_RepChar);



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