X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fplus.cpp;h=0d588749c0404d3aa8ef90320c380aaeb94df0a2;hb=a4456cc10079f2e6f648befc91657f2723c825e5;hp=f9cbdd5e748b8b72afea8a81522df9b7ce899c83;hpb=fd3e3ff98f94ba0f60abfd49ca393d1d5fb4d102;p=m6w6%2Flibmemcached diff --git a/tests/plus.cpp b/tests/plus.cpp index f9cbdd5e..0d588749 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -29,7 +29,7 @@ extern "C" { test_return_t mget_result_function(memcached_st *memc); test_return_t basic_behavior(memcached_st *memc); test_return_t mget_test(memcached_st *memc); - memcached_return_t callback_counter(memcached_st *, + memcached_return_t callback_counter(const memcached_st *, memcached_result_st *, void *context); } @@ -150,9 +150,9 @@ test_return_t basic_master_key_test(memcached_st *memc) } /* Count the results */ -memcached_return_t callback_counter(memcached_st *, - memcached_result_st *, - void *context) +memcached_return_t callback_counter(const memcached_st *, + memcached_result_st *, + void *context) { unsigned int *counter= static_cast(context);