summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-07-23 10:03:26 +0100
committerEric Engestrom <[email protected]>2019-07-24 09:13:58 +0100
commitf986741a91b80091b510752b707a82f5b19440ee (patch)
tree5aeee4364da94615b2c22b264678eb0fe6d378cf
parent4389e85dc997f933103a9f245a8685ca81329836 (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/util/u_vector.h2
1 files changed, 1 insertions, 1 deletions
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) \