Merge in support for prefix keys in the binary protoocol.
[m6w6/libmemcached] / libmemcached / fetch.c
index 4359c9355bf006af53a5b1e3d999fa2d263d3483..3c819f38e00392ffa3ac21c2759edb6fdd66338b 100644 (file)
@@ -91,13 +91,12 @@ memcached_return_t memcached_fetch_execute(memcached_st *ptr,
 {
   memcached_result_st *result= &ptr->result;
   memcached_return_t rc= MEMCACHED_FAILURE;
-  unsigned int x;
 
   while ((result= memcached_fetch_result(ptr, result, &rc)) != NULL) 
   {
     if (rc == MEMCACHED_SUCCESS)
     {
-      for (x= 0; x < number_of_callbacks; x++)
+      for (uint32_t x= 0; x < number_of_callbacks; x++)
       {
         rc= (*callback[x])(ptr, result, context);
         if (rc != MEMCACHED_SUCCESS)