X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fketama.c;h=e56594cf7bff5411be46b0f07dab2ad866705645;hb=8c0dca3fe0a9cfbf6f2d595dedaabc08c9ef8dda;hp=50309bbc693567ae623f863b1f04d582dad3fca0;hpb=dec0636927f5d0ae4cf06ad2710d022990419879;p=m6w6%2Flibmemcached diff --git a/libhashkit/ketama.c b/libhashkit/ketama.c index 50309bbc..e56594cf 100644 --- a/libhashkit/ketama.c +++ b/libhashkit/ketama.c @@ -119,7 +119,7 @@ int update_continuum(hashkit_st *hashkit) if (hashkit->continuum_key_fn == NULL) { - sort_host_length= (size_t) snprintf(sort_host, HASHKIT_CONTINUUM_KEY_SIZE, "%d", + sort_host_length= (size_t) snprintf(sort_host, HASHKIT_CONTINUUM_KEY_SIZE, "%u", points_index); } else