From: Brian Aker Date: Mon, 20 Jun 2011 04:06:27 +0000 (-0700) Subject: Ubuntu complaint. X-Git-Tag: 0.51~3^2~5 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a96430cd62ea426e2874c373b486fe07cce82f03;p=awesomized%2Flibmemcached Ubuntu complaint. --- diff --git a/tests/mem_functions.cc b/tests/mem_functions.cc index f963582e..91a16cd2 100644 --- a/tests/mem_functions.cc +++ b/tests/mem_functions.cc @@ -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,