diff data/fileio/MatchFileReader.cpp @ 929:59e7fe1b1003 warnfix_no_size_t

Unsigned removals and warning fixes in data/
author Chris Cannam
date Tue, 17 Jun 2014 14:33:42 +0100
parents e802e550a1f2
children 0a35adfb7b16
line wrap: on
line diff
--- a/data/fileio/MatchFileReader.cpp	Tue Jun 17 13:52:07 2014 +0100
+++ b/data/fileio/MatchFileReader.cpp	Tue Jun 17 14:33:42 2014 +0100
@@ -163,8 +163,11 @@
             break;
         }
 
-        if (state < 3) ++state;
-        else if (state == 3 && alignment.thisIndex.size() == count) ++state;
+        if (state < 3) {
+            ++state;
+        } else if (state == 3 && int(alignment.thisIndex.size()) == count) {
+            ++state;
+        }
     }
 
     if (alignment.thisHopTime == 0.0) {