X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-cast_if_type.c;h=610793514f9113753598cadec668787d76b10d48;hp=db2f1249257a9e0a2bc0224054f5ef9b1ccc9d65;hb=3b9d55bd9c9180cc94de96bf60f7bfa5d5f8f2cc;hpb=85a33135890965218010b79c89e4d3f4905727e3 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 db2f1249..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((expr), unsigned long, void *)) + _set_some_value(cast_if_type(void *, (expr), (expr), unsigned long)) int main(int argc, char *argv[]) {