dlhist.c: resize_table: Oops, storing floating point value in integer.
This commit is contained in:
parent
fce177b486
commit
5eda6e7705
1 changed files with 2 additions and 1 deletions
3
dlhist.c
3
dlhist.c
|
|
@ -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);
|
||||
|
|
|
|||
Reference in a new issue