zend_string'ify
[m6w6/ext-psi] / src / error.c
index c92b847e3530859083ce001bcb6f24237de36db0..486867bbfb1364338522a9dae218598b077c5c59 100644 (file)
@@ -57,7 +57,7 @@ void psi_error_wrapper(struct psi_data *context, struct psi_token *t, int type,
        }
 
        if (t) {
-               fn = t->file;
+               fn = t->file->val;
                ln = t->line;
        } else if (zend_is_executing()) {
                fn = zend_get_executed_filename();