diff options
Diffstat (limited to 'util/qht.c')
-rw-r--r-- | util/qht.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -688,7 +688,7 @@ static inline void qht_bucket_remove_entry(struct qht_bucket *orig, int pos) int i; if (qht_entry_is_last(orig, pos)) { - orig->hashes[pos] = 0; + qatomic_set(&orig->hashes[pos], 0); qatomic_set(&orig->pointers[pos], NULL); return; } |