X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ffunction.c;h=d3b67f0ff4b320f59b6af25bfce78df785e3cafd;hb=1b18496b3d1399d90cfba1975f23aee9c747445a;hp=dc373e7bb5d012d99484e21a537d53ffa15de733;hpb=30185782b41ac70135a7e17e59e9de78f4c6c287;p=m6w6%2Flibmemcached diff --git a/tests/function.c b/tests/function.c index dc373e7b..d3b67f0f 100644 --- a/tests/function.c +++ b/tests/function.c @@ -2312,6 +2312,7 @@ static test_return user_supplied_bug16(memcached_st *memc) return 0; } +#ifndef __sun /* Check the validity of chinese key*/ static test_return user_supplied_bug17(memcached_st *memc) { @@ -2338,6 +2339,7 @@ static test_return user_supplied_bug17(memcached_st *memc) return 0; } +#endif /* From Andrei on IRC @@ -3342,7 +3344,7 @@ static memcached_return poll_timeout(memcached_st *memc) memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_POLL_TIMEOUT, timeout); - timeout= memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_POLL_TIMEOUT); + timeout= (size_t)memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_POLL_TIMEOUT); assert(timeout == 100);