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

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Wed Mar 12 14:50:23 CDT 2008


Author: kraftche
Date: 2008-03-12 14:50:23 -0500 (Wed, 12 Mar 2008)
New Revision: 1645

Modified:
   MOAB/trunk/test/h5file/h5file_test.cpp
Log:
fix more warnings

Modified: MOAB/trunk/test/h5file/h5file_test.cpp
===================================================================
--- MOAB/trunk/test/h5file/h5file_test.cpp	2008-03-12 19:49:57 UTC (rev 1644)
+++ MOAB/trunk/test/h5file/h5file_test.cpp	2008-03-12 19:50:23 UTC (rev 1645)
@@ -818,7 +818,7 @@
     moab_error( "get_entities_by_type_and_tag" );
   if (range.size() != 2)
   {
-    fprintf( stderr, "Expected 2 Hexes.  Got %d\n", range.size() );
+    fprintf( stderr, "Expected 2 Hexes.  Got %lu\n", (unsigned long)range.size() );
     exit( 1 );
   }
   iter = range.begin();
@@ -834,7 +834,7 @@
     moab_error( "get_entities_by_type_and_tag" );
   if (range.size() != 2)
   {
-    fprintf( stderr, "Expected 2 Polyhedra.  Got %d\n", range.size() );
+    fprintf( stderr, "Expected 2 Polyhedra.  Got %lu\n", (unsigned long)range.size() );
     exit( 1 );
   }
   iter = range.begin();




More information about the moab-dev mailing list