[MOAB-dev] r1701 - MOAB/trunk/test/h5file

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Tue Mar 25 15:41:18 CDT 2008


Author: kraftche
Date: 2008-03-25 15:41:17 -0500 (Tue, 25 Mar 2008)
New Revision: 1701

Modified:
   MOAB/trunk/test/h5file/h5varlen.cpp
Log:
Fix 32-bit build issue

Modified: MOAB/trunk/test/h5file/h5varlen.cpp
===================================================================
--- MOAB/trunk/test/h5file/h5varlen.cpp	2008-03-25 20:38:46 UTC (rev 1700)
+++ MOAB/trunk/test/h5file/h5varlen.cpp	2008-03-25 20:41:17 UTC (rev 1701)
@@ -135,7 +135,7 @@
     CHECK( NULL != dataptr );
       // check size 
     CHECK( size > 0 );
-    CHECK_EQUAL( 0ul, size % sizeof(int) );
+    CHECK_EQUAL( 0ul, (unsigned long)(size % sizeof(int)) );
     size /= sizeof(int);
     CHECK_EQUAL( size, dataptr[0] );
       // check other values




More information about the moab-dev mailing list