* the COPYING file in the parent directory for full text.
*/
-#include "common.h"
+#include <libhashkit/common.h>
+#include <math.h>
+#if 0
static uint32_t ketama_server_hash(const char *key, unsigned int key_length, int alignment)
{
unsigned char results[16];
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
return 0;
}
+#endif