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 8fa4ec483c9..f97a8b43cae 100644 --- a/src/util/u_vector.h +++ b/src/util/u_vector.h @@ -82,7 +82,7 @@ u_vector_finish(struct u_vector *queue) } #define u_vector_foreach(elem, queue) \ - static_assert(__builtin_types_compatible_p(__typeof__(queue), struct u_vector *), ""); \ + STATIC_ASSERT(__builtin_types_compatible_p(__typeof__(queue), struct u_vector *)); \ for (uint32_t __u_vector_offset = (queue)->tail; \ elem = (queue)->data + (__u_vector_offset & ((queue)->size - 1)), __u_vector_offset < (queue)->head; \ __u_vector_offset += (queue)->element_size) |