You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/05/29 14:30:04 UTC
cvs commit: xml-xerces/c/src/dom ParentNode.cpp
tng 01/05/29 05:30:04
Modified: c/src/dom ParentNode.cpp
Log:
fix signed/unsigned mismatch warning
Revision Changes Path
1.11 +3 -2 xml-xerces/c/src/dom/ParentNode.cpp
Index: ParentNode.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/dom/ParentNode.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ParentNode.cpp 2001/05/11 13:25:25 1.10
+++ ParentNode.cpp 2001/05/29 12:30:01 1.11
@@ -55,7 +55,7 @@
*/
/*
- * $Id: ParentNode.cpp,v 1.10 2001/05/11 13:25:25 tng Exp $
+ * $Id: ParentNode.cpp,v 1.11 2001/05/29 12:30:01 tng Exp $
*
* <p><b>WARNING</b>: Some of the code here is partially duplicated in
* AttrImpl, be careful to keep these two classes in sync!
@@ -342,8 +342,9 @@
};
-NodeImpl *ParentNode::item(unsigned int index) {
+NodeImpl *ParentNode::item(unsigned int uindex) {
// short way
+ int index = uindex;
if (fCachedChildIndex != -1 && fCachedChild != null) {
if (fCachedChildIndex < index) {
while (fCachedChildIndex < index && fCachedChild != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org