Made ENABLE_HSIEH_HASH into a macro.
[awesomized/libmemcached] / libmemcachedutil / memcached_pool.c
index 766375f1bc2b84472e3ffddd74f541b3803ed262..7a4aa073dc5c54e1a3081d9781017d0971cd1d8d 100644 (file)
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "libmemcached/common.h"
 #include "libmemcached/memcached_pool.h"
 #include <pthread.h>
 
@@ -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;
   }