From 8a446d30fe5d3dfc915b8cd0383229b1f51fe7c4 Mon Sep 17 00:00:00 2001 From: Eric Lambert Date: Wed, 7 Oct 2009 16:41:10 -0700 Subject: [PATCH] fixed casting issue that was causing udp buffered delete tests to fail --- libmemcached/memcached_delete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/memcached_delete.c b/libmemcached/memcached_delete.c index 8e732834..3fc7c037 100644 --- a/libmemcached/memcached_delete.c +++ b/libmemcached/memcached_delete.c @@ -36,7 +36,7 @@ memcached_return memcached_delete_by_key(memcached_st *ptr, return MEMCACHED_NO_SERVERS; server_key= memcached_generate_hash(ptr, master_key, master_key_length); - to_write= (uint8_t) (ptr->flags & MEM_BUFFER_REQUESTS) ? 0 : 1; + to_write= (uint8_t)((ptr->flags & MEM_BUFFER_REQUESTS) ? 0 : 1); bool no_reply= (ptr->flags & MEM_NOREPLY); if (ptr->flags & MEM_BINARY_PROTOCOL) -- 2.30.2