Ubuntu complaint.
authorBrian Aker <brian@tangent.org>
Mon, 20 Jun 2011 04:06:27 +0000 (21:06 -0700)
committerBrian Aker <brian@tangent.org>
Mon, 20 Jun 2011 04:06:27 +0000 (21:06 -0700)
tests/mem_functions.cc

index f963582eddff8308c9a24419a7b1887c143d37d5..91a16cd2a325251f1e55feeb723504b6af9f0933 100644 (file)
@@ -2271,7 +2271,7 @@ static test_return_t user_supplied_bug3(memcached_st *memc)
     keys[x]= strdup(key);
     test_true(keys[x]);
     key_lengths[x]= key_length;
-    test_compare(key_length, strlen(keys[x]));
+    test_compare(size_t(key_length), strlen(keys[x]));
   }
 
   test_compare(MEMCACHED_SUCCESS,