/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-//#define DJB2_HASH_FUNCTION
+#define DJB2_HASH_FUNCTION
//#define FNV_HASH_FUNCTION
#include <string.h>
/** @brief shows some debugging info about the bucklet repartition */
void xbt_dict_dump_sizes(xbt_dict_t dict) {
- unsigned int i,count;
- int size;
+ int i;
+ unsigned int count;
+ unsigned int size;
xbt_dictelm_t element;
xbt_dynar_t sizes = xbt_dynar_new(sizeof(int),NULL);
continue;
if (size==0)
continue;
- printf("%delm x %d cells; ",count,size);
+ printf("%delm x %u cells; ",count,size);
}
}
printf("\n");