X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcommon.h;h=895c5a403494e5ce2ba206cd4663f245cc11cbe6;hb=f1563c45b37bba7d51228af44dc184a9d0308e81;hp=6dc6936f8f7533a7a653f1e7360e1623508a23a6;hpb=b2768ceafc13f9338e1c43d1bf0f1a65adb7e889;p=awesomized%2Flibmemcached diff --git a/libmemcached/common.h b/libmemcached/common.h index 6dc6936f..895c5a40 100644 --- a/libmemcached/common.h +++ b/libmemcached/common.h @@ -172,7 +172,7 @@ static inline memcached_return_t memcached_validate_key_length(size_t key_length on the system it returns false but sets errno to 0. Otherwise on failure errno is set. */ -static inline memcached_ternary_t test_cork(memcached_server_st *ptr, bool enable) +static inline memcached_ternary_t test_cork(memcached_server_st *ptr, int enable) { #ifdef CORK if (ptr->type != MEMCACHED_CONNECTION_TCP)