Enabled warnings=errors for GCC and then made things compile. Had to turn off
[awesomized/libmemcached] / libmemcachedutil / memcached_pool.c
index 766375f1bc2b84472e3ffddd74f541b3803ed262..83326b6129b7d1f03c4bc5bca54e03e85e8ccfd1 100644 (file)
@@ -79,7 +79,7 @@ memcached_pool_st *memcached_pool_create(memcached_st* mmc,
     /* Try to create the initial size of the pool. An allocation failure at
      * this time is not fatal..
      */
-    for (int ii=0; ii < initial; ++ii)
+    for (unsigned int ii=0; ii < initial; ++ii)
       if (grow_pool(ret) == -1)
         break;
   }