X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-cast_if_type.c;h=610793514f9113753598cadec668787d76b10d48;hb=1fe7f55b1efc5deefb20815a03b56c8ef0f6dc53;hp=db2f1249257a9e0a2bc0224054f5ef9b1ccc9d65;hpb=85a33135890965218010b79c89e4d3f4905727e3;p=ccan 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[]) {