mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use type instead of constant
This commit is contained in:
parent
c5b69dcb14
commit
6f78de02f0
2 changed files with 2 additions and 2 deletions
|
@ -465,7 +465,7 @@ static void zend_error_va(int type, const char *file, uint lineno, const char *f
|
|||
va_list args;
|
||||
|
||||
va_start(args, format);
|
||||
zend_error_cb(E_ERROR, file, lineno, format, args);
|
||||
zend_error_cb(type, file, lineno, format, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
|
|
|
@ -465,7 +465,7 @@ static void zend_error_va(int type, const char *file, uint lineno, const char *f
|
|||
va_list args;
|
||||
|
||||
va_start(args, format);
|
||||
zend_error_cb(E_ERROR, file, lineno, format, args);
|
||||
zend_error_cb(type, file, lineno, format, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue