X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-cast_if_type.c;h=610793514f9113753598cadec668787d76b10d48;hp=f5a02e41ed1a412a0fcef1e62840972fa9d9340f;hb=67a035869c6f3512ba943ae197b407f182a4506d;hpb=b1c867121f379d76dc7fb7d99bae77e2b7d99841 diff --git a/ccan/typesafe_cb/test/compile_fail-cast_if_type.c b/ccan/typesafe_cb/test/compile_fail-cast_if_type.c index f5a02e41..61079351 100644 --- a/ccan/typesafe_cb/test/compile_fail-cast_if_type.c +++ b/ccan/typesafe_cb/test/compile_fail-cast_if_type.c @@ -7,7 +7,7 @@ void _set_some_value(void *val) } #define set_some_value(expr) \ - _set_some_value(cast_if_type(void *, (expr), unsigned long)) + _set_some_value(cast_if_type(void *, (expr), (expr), unsigned long)) int main(int argc, char *argv[]) {