File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -447,9 +447,9 @@ static PHP_INI_MH(OnUpdateTimeout)
447
447
448
448
/* {{{ php_get_display_errors_mode() helper function
449
449
*/
450
- static int php_get_display_errors_mode (char * value , size_t value_length )
450
+ static zend_uchar php_get_display_errors_mode (char * value , size_t value_length )
451
451
{
452
- int mode ;
452
+ zend_uchar mode ;
453
453
454
454
if (!value ) {
455
455
return PHP_DISPLAY_ERRORS_STDOUT ;
@@ -490,7 +490,8 @@ static PHP_INI_MH(OnUpdateDisplayErrors)
490
490
*/
491
491
static PHP_INI_DISP (display_errors_mode )
492
492
{
493
- int mode , cgi_or_cli ;
493
+ zend_uchar mode ;
494
+ bool cgi_or_cli ;
494
495
size_t tmp_value_length ;
495
496
char * tmp_value ;
496
497
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ struct _php_core_globals {
65
65
zend_long memory_limit ;
66
66
zend_long max_input_time ;
67
67
68
- zend_bool display_errors ;
68
+ zend_uchar display_errors ;
69
69
zend_bool display_startup_errors ;
70
70
zend_bool log_errors ;
71
71
zend_long log_errors_max_len ;
You can’t perform that action at this time.
0 commit comments