* the COPYING file in the parent directory for full text.
*/
+#include <math.h>
#include "common.h"
static uint32_t ketama_server_hash(const char *key, unsigned int key_length, int alignment)
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