From bf4da83be9c867a2ecb10615297aa5dd5cb1d6ab Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 11 Jan 2010 10:41:12 +1100 Subject: [PATCH] don't convert between 16 and 32 bit when you don't need to --- libmemcached/hosts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/hosts.c b/libmemcached/hosts.c index 683b0843..a923ec71 100644 --- a/libmemcached/hosts.c +++ b/libmemcached/hosts.c @@ -295,7 +295,7 @@ static memcached_return_t update_continuum(memcached_st *ptr) memcached_return_t memcached_server_push(memcached_st *ptr, memcached_server_st *list) { unsigned int x; - uint16_t count; + uint32_t count; memcached_server_st *new_host_list; if (!list) -- 2.30.2