From f986741a91b80091b510752b707a82f5b19440ee Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 23 Jul 2019 10:03:26 +0100 Subject: [PATCH] util: fix no-op macro (bad number of arguments) Fixes: b8e077daee4d6369d774 ("util: no-op __builtin_types_compatible_p() for non-GCC compilers") Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- src/util/u_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/u_vector.h b/src/util/u_vector.h index 6807748e3b1..95f35c59c7d 100644 --- a/src/util/u_vector.h +++ b/src/util/u_vector.h @@ -81,7 +81,7 @@ u_vector_finish(struct u_vector *queue) } #ifndef __GNUC__ -#define __builtin_types_compatible_p(x) 1 +#define __builtin_types_compatible_p(t1, t2) 1 #endif #define u_vector_foreach(elem, queue) \ -- 2.30.2