[MOAB-dev] r1735 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Wed Apr 2 13:59:56 CDT 2008


Author: kraftche
Date: 2008-04-02 13:59:56 -0500 (Wed, 02 Apr 2008)
New Revision: 1735

Modified:
   MOAB/trunk/Test_MBMeshSet.cpp
Log:
fix build issues w/ 32-bit handles

Modified: MOAB/trunk/Test_MBMeshSet.cpp
===================================================================
--- MOAB/trunk/Test_MBMeshSet.cpp	2008-04-02 18:50:34 UTC (rev 1734)
+++ MOAB/trunk/Test_MBMeshSet.cpp	2008-04-02 18:59:56 UTC (rev 1735)
@@ -208,13 +208,13 @@
   CHECK_ERR(rval);
   first_vert = range.front();
   last_vert = range.back();
-  CHECK_EQUAL( 1331ul, last_vert - first_vert + 1 );
+  CHECK_EQUAL( (MBEntityHandle)1331, last_vert - first_vert + 1 );
   range.clear();
   rval = mb.get_entities_by_type( 0, MBHEX, range );
   CHECK_ERR(rval);
   first_hex = range.front();
   last_hex = range.back();
-  CHECK_EQUAL( 1000ul, last_hex - first_hex + 1 );
+  CHECK_EQUAL( (MBEntityHandle)1000, last_hex - first_hex + 1 );
 }
 
 




More information about the moab-dev mailing list