[MOAB-dev] r2262 - MOAB/trunk/parallel

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Sat Nov 15 03:30:39 CST 2008


Author: kraftche
Date: 2008-11-15 03:30:39 -0600 (Sat, 15 Nov 2008)
New Revision: 2262

Modified:
   MOAB/trunk/parallel/MBParallelComm.cpp
Log:
fix warnings

Modified: MOAB/trunk/parallel/MBParallelComm.cpp
===================================================================
--- MOAB/trunk/parallel/MBParallelComm.cpp	2008-11-15 08:52:42 UTC (rev 2261)
+++ MOAB/trunk/parallel/MBParallelComm.cpp	2008-11-15 09:30:39 UTC (rev 2262)
@@ -3188,7 +3188,7 @@
       int owner;
       result = get_owner( *i, owner );
       RRA("Trouble getting owner of to-be-ghosted entity");
-      if (owner == proc_config().proc_rank())
+      if (owner == (int)proc_config().proc_rank())
         ++i;
       else
         i = new_ghosts.erase( i );
@@ -3368,7 +3368,7 @@
       for (MBRange::iterator s = sent_ents[ind].begin(); s != sent_ents[ind].end(); ++s) {
         result = get_owner( *s, owner );
         RRA("Trouble getting entity owner");
-        if (owner == proc_config().proc_rank()) {
+        if (owner == (int)proc_config().proc_rank()) {
           ins1 = new_ghosted.insert( ins1, *s, *s );
           ins2 = ghostedEnts[*sit].insert( ins2, *s, *s );
         }




More information about the moab-dev mailing list