C++ compiler does not like cast from pointer to enum; ref #3039

parent c2996514
......@@ -852,7 +852,7 @@ call_with_block(parser_state *p, node *a, node *b)
{
node *n;
switch ((enum node_type)a->car) {
switch ((enum node_type)(intptr_t)a->car) {
case NODE_SUPER:
case NODE_ZSUPER:
if (!a->cdr) a->cdr = cons(0, b);
......
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