fix clang build
[m6w6/ext-psi] / src / types / num_exp.c
index ce89de515800786d2420a7d62de00869593da2da..0053a23f26559cb89a60883acacb4da739a82186 100644 (file)
@@ -389,8 +389,9 @@ void psi_num_exp_dump(struct psi_dump *dump, struct psi_num_exp *exp)
 
        case PSI_T_CAST:
                PSI_DUMP(dump, "(");
-               psi_decl_type_dump(1, exp->data.c.typ, 0);
+               psi_decl_type_dump(dump, exp->data.c.typ, 0);
                PSI_DUMP(dump, ")");
+               psi_num_exp_dump(dump, exp->data.c.num);
                break;
 
        case PSI_T_NOT: