Archived
1
0
Fork 0

dlhist.c: resize_table: Oops, storing floating point value in integer.

This commit is contained in:
Henrik Hautakoski 2011-09-07 22:08:56 +02:00
parent fce177b486
commit 5eda6e7705

View file

@ -120,7 +120,8 @@ static void he_remove(struct hash_entry *he) {
static void resize_table() {
unsigned int load, i, old_size = table_size;
double load;
unsigned int i, old_size = table_size;
struct hash_entry *old = table;
load = HASH_TABLE_LOAD(table_count, table_size);