You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/08/06 03:33:48 UTC
cvs commit: xml-xalan/c/src/PlatformSupport DOMStringHelper.hpp
dbertoni 01/08/05 18:33:48
Modified: c/src/PlatformSupport DOMStringHelper.hpp
Log:
Fixed some unsigned/unsigned long issues.
Revision Changes Path
1.47 +6 -6 xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp
Index: DOMStringHelper.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- DOMStringHelper.hpp 2001/07/08 06:49:49 1.46
+++ DOMStringHelper.hpp 2001/08/06 01:33:48 1.47
@@ -322,7 +322,7 @@
theBufferPointer++;
}
- return theBufferPointer - theString;
+ return unsigned(theBufferPointer - theString);
}
@@ -338,7 +338,7 @@
{
assert(theString != 0);
- return strlen(theString);
+ return unsigned(strlen(theString));
}
@@ -380,7 +380,7 @@
++thePointer;
}
- return thePointer - theString;
+ return unsigned(thePointer - theString);
}
@@ -411,7 +411,7 @@
++thePointer;
}
- return thePointer - theString;
+ return unsigned(thePointer - theString);
}
@@ -2577,7 +2577,7 @@
{
const XalanDOMChar* theRawBuffer = c_wstr(theKey);
- unsigned long theHashValue = 0L;
+ result_type theHashValue = 0;
if (theRawBuffer != 0)
{
@@ -2589,7 +2589,7 @@
}
}
- return result_type(theHashValue++);
+ return theHashValue++;
}
};
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org