Enabled warnings=errors for GCC and then made things compile. Had to turn off
[awesomized/libmemcached] / libmemcached / memcached_flush_buffers.c
index f955dbe645c95755fcc534439e0ef88d63a3048e..bbf095493abf7ecb3f3a3a453d0622205b9b34db 100644 (file)
@@ -5,7 +5,7 @@ memcached_return memcached_flush_buffers(memcached_st *mem)
 {
   memcached_return ret= MEMCACHED_SUCCESS;
 
-  for (int x= 0; x < mem->number_of_hosts; ++x)
+  for (uint32_t x= 0; x < mem->number_of_hosts; ++x)
     if (mem->hosts[x].write_buffer_offset != 0) 
     {
       if (mem->hosts[x].fd == -1 &&