projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
e06a506
)
don't convert between 16 and 32 bit when you don't need to
author
Stewart Smith
<stewart@flamingspork.com>
Sun, 10 Jan 2010 23:41:12 +0000
(10:41 +1100)
committer
Stewart Smith
<stewart@flamingspork.com>
Sun, 10 Jan 2010 23:41:12 +0000
(10:41 +1100)
libmemcached/hosts.c
patch
|
blob
|
history
diff --git
a/libmemcached/hosts.c
b/libmemcached/hosts.c
index 683b08435681855398e8a1a9d7bf1e24ac276fdf..a923ec71e8430bcf1698cd8099923cb14c9b57d5 100644
(file)
--- 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;
- uint
16
_t count;
+ uint
32
_t count;
memcached_server_st *new_host_list;
if (!list)