From 9dd753d2c0aee48b38a56d513ae01231ca6901ac Mon Sep 17 00:00:00 2001 From: daanx Date: Sat, 8 Feb 2025 13:12:19 -0800 Subject: [PATCH] add comment --- src/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmap.c b/src/bitmap.c index b458d5e8..f3030153 100644 --- a/src/bitmap.c +++ b/src/bitmap.c @@ -169,7 +169,7 @@ static inline bool mi_bfield_atomic_try_clear_mask_of(_Atomic(mi_bfield_t)*b, mi mi_assert_internal(mask != 0); // try to atomically clear the mask bits do { - if ((expect & mask) != mask) { + if ((expect & mask) != mask) { // are all bits still set? if (all_clear != NULL) { *all_clear = (expect == 0); } return false; }