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/05/22 22:19:09 UTC
cvs commit: xml-xerces/c/src/xercesc/util HashPtr.cpp
peiyongz 02/05/22 13:19:09
Modified: c/src/xercesc/util HashPtr.cpp
Log:
Build 64 on hp-11
Revision Changes Path
1.2 +1 -1 xml-xerces/c/src/xercesc/util/HashPtr.cpp
Index: HashPtr.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/HashPtr.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HashPtr.cpp 1 Feb 2002 22:22:10 -0000 1.1
+++ HashPtr.cpp 22 May 2002 20:19:09 -0000 1.2
@@ -67,7 +67,7 @@
unsigned int HashPtr::getHashVal(const void *const key, unsigned int mod)
{
- return ((long)key % mod);
+ return ((long)key % (unsigned long)mod);
}
bool HashPtr::equals(const void *const key1, const void *const key2)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org