[MOAB-dev] commit/MOAB: danwu: Removed a warning (from buildbot output of builder moab-32bit) for TupleList.cpp (comparison between long and unsigned int). Note, it seems that this warning is not reproducible in a 64-bit build.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue May 20 13:25:55 CDT 2014


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/089473f153d4/
Changeset:   089473f153d4
Branch:      master
User:        danwu
Date:        2014-05-20 20:25:30
Summary:     Removed a warning (from buildbot output of builder moab-32bit) for TupleList.cpp (comparison between long and unsigned int). Note, it seems that this warning is not reproducible in a 64-bit build.

Affected #:  1 file

diff --git a/src/TupleList.cpp b/src/TupleList.cpp
index 113e826..095a01d 100644
--- a/src/TupleList.cpp
+++ b/src/TupleList.cpp
@@ -267,7 +267,7 @@ int TupleList::find(unsigned int key_num, sint value)
     else
     {
       // Sequential search: if tuple_list is not sorted
-      for (long index = 0; index < n; index++)
+      for (uint index = 0; index < n; index++)
       {
         if (vi[index * mi + key_num] == (long) uvalue)
           return index;

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list