- Fix compiler warning

This commit is contained in:
Felipe Pena 2013-11-15 14:24:22 -02:00
parent 8c67cf30b5
commit d13c02bf68

View file

@ -19,6 +19,7 @@
#include "phpdbg.h"
#include "phpdbg_prompt.h"
#include "phpdbg_bp.h"
#include "phpdbg_break.h"
#include "phpdbg_utils.h"
ZEND_DECLARE_MODULE_GLOBALS(phpdbg);
@ -167,7 +168,7 @@ static PHP_FUNCTION(phpdbg_break)
break;
default: zend_error(
E_WARNING, "unrecognized parameter type %d", type);
E_WARNING, "unrecognized parameter type %ld", type);
}
} else if (EG(current_execute_data) && EG(active_op_array)) {
zend_ulong opline_num = (EG(current_execute_data)->opline -