Commit 7748c8da authored by Rusty Russell's avatar Rusty Russell

typesafe_cb: fix !gcc case

parent b1c86712
......@@ -33,7 +33,7 @@
__builtin_choose_expr(__builtin_types_compatible_p(typeof(1?(expr):0), oktype), \
(desttype)(expr), (expr))
#else
#define cast_if_type(expr, oktype, desttype) ((desttype)(expr))
#define cast_if_type(desttype, expr, oktype) ((desttype)(expr))
#endif
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment