diff options
-rw-r--r-- | src/gallium/auxiliary/util/u_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index 0a829158b11..d983af33203 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -489,7 +489,7 @@ static inline int u_bit_scan(unsigned *mask) { int i = ffs(*mask) - 1; - *mask &= ~(1 << i); + *mask &= ~(1u << i); return i; } |