Enabled warnings=errors for GCC and then made things compile. Had to turn off
[awesomized/libmemcached] / libmemcached / memcached_hosts.c
index c8e15c4c0351e798f9f632791285471d1c32cca1..88256aedcf0f185cf4200086da701e586a6c6fce 100644 (file)
@@ -220,7 +220,7 @@ memcached_return update_continuum(memcached_st *ptr)
 
       if (is_ketama_weighted)
       {
-        int i;
+        unsigned int i;
         for (i = 0; i < pointer_per_hash; i++)
         {
           value= ketama_server_hash(sort_host, sort_host_length, i);