Fixed minor gcc warnings
[libcds.git] / test / stress / framework / city.cpp
index bb4b34063e7cd81d1670dd9bca312f64700e95b0..aeac8e5dd9e7f213faa556c8df5d66cb99eb4a57 100644 (file)
@@ -153,7 +153,7 @@ static uint32 Hash32Len13to24(const char *s, size_t len) {
 static uint32 Hash32Len0to4(const char *s, size_t len) {
   uint32 b = 0;
   uint32 c = 9;
-  for (int i = 0; i < len; i++) {
+  for (size_t i = 0; i < len; i++) {
     signed char v = s[i];
     b = b * c1 + v;
     c ^= b;