ck_ht: Fix typo in ck_ht_gc for direct mode.

ck_pring
Samy Al Bahra 11 years ago
parent c197b37df1
commit 1fe1ed1d60

@ -433,7 +433,7 @@ ck_ht_gc(struct ck_ht *ht, unsigned long cycles, unsigned long seed)
ht->h(&h, &entry->key, sizeof(entry->key), ht->seed); ht->h(&h, &entry->key, sizeof(entry->key), ht->seed);
#endif #endif
entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority, entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority,
&entry->key, (void *)entry->key,
sizeof(entry->key), sizeof(entry->key),
NULL, &probes_wr); NULL, &probes_wr);
} }

Loading…
Cancel
Save