mhoyt 2004/08/20 13:23:35
Modified: c/src/xalanc/PlatformSupport ReusableArenaBlock.hpp
Log:
Fix incorrect cast (causes assertion on VC7.1)
Revision Changes Path
1.10 +1 -1
xml-xalan/c/src/xalanc/PlatformSupport/ReusableArenaBlock.hpp
Index: ReusableArenaBlock.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/ReusableArenaBlock.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ReusableArenaBlock.hpp 14 Aug 2004 05:51:37 -0000 1.9
+++ ReusableArenaBlock.hpp 20 Aug 2004 20:23:35 -0000 1.10
@@ -62,7 +62,7 @@
bool
isValidFor( size_type rightBorder ) const
{
- return ( ( verificationStamp ==
size_type(VALID_OBJECT_STAMP)) &&
+ return ( ( verificationStamp ==
int(VALID_OBJECT_STAMP)) &&
( next <= rightBorder ) ) ? true : false ;
}
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]