[MOAB-dev] r4586 - MOAB/trunk/src/parallel

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon Mar 14 16:35:25 CDT 2011


Author: kraftche
Date: 2011-03-14 16:35:25 -0500 (Mon, 14 Mar 2011)
New Revision: 4586

Modified:
   MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp
Log:
fix build issue with IBM compiler

Modified: MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp
===================================================================
--- MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp	2011-03-14 21:17:30 UTC (rev 4585)
+++ MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp	2011-03-14 21:35:25 UTC (rev 4586)
@@ -467,7 +467,7 @@
   char name[sizeof(unsigned long)];
   
   static size_t len( int name_len ) {
-    return sizeof(serial_tag_data) + name_len - sizeof(name);
+    return sizeof(serial_tag_data) + name_len - sizeof(unsigned long);
   }
   size_t len() const { return len( name_len ); }
 };








































More information about the moab-dev mailing list