diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/u_vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_vector.h b/src/util/u_vector.h index f97a8b43cae..c7fcb37a052 100644 --- a/src/util/u_vector.h +++ b/src/util/u_vector.h @@ -38,7 +38,7 @@ static inline uint32_t u_align_u32(uint32_t v, uint32_t a) { - assert(a != 0 && a == (a & -a)); + assert(a != 0 && a == (a & -((int32_t) a))); return (v + a - 1) & ~(a - 1); } |