build administrativa
[m6w6/ext-psi] / src / types / num_exp.c
index ce89de515800786d2420a7d62de00869593da2da..944b876a4176ad6b38106bc57d033119d1882779 100644 (file)
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *******************************************************************************/
 
-#include "php_psi_stdinc.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
+# include "php_config.h"
+#endif
 
 #include <assert.h>
 
@@ -389,8 +393,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: