summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Mausz <manuel@mausz.at>2020-08-21 11:53:40 +0000
committerChristoph M. Becker <cmbecker69@gmx.de>2020-08-21 15:28:12 +0200
commit46d62e5464ece54066ae36b3fc567f0c5eb41640 (patch)
treef6f4b46adce77997004f7a6bd5ceb4e2ac5f6ae9
parentf7c43b8c72822a4722bd7404c6f65e15b2b912c1 (diff)
downloadphp-git-46d62e5464ece54066ae36b3fc567f0c5eb41640.tar.gz
Fix wrong datatype
ini_entry->modifiable is of type uint8_t and so should be the temp. variable. Especially important after 4b77a158. Closes GH-6028
-rw-r--r--Zend/zend_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ini.c b/Zend/zend_ini.c
index b8185950ae..afc8f24e62 100644
--- a/Zend/zend_ini.c
+++ b/Zend/zend_ini.c
@@ -334,7 +334,7 @@ ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value,
{
zend_ini_entry *ini_entry;
zend_string *duplicate;
- zend_bool modifiable;
+ uint8_t modifiable;
zend_bool modified;
if ((ini_entry = zend_hash_find_ptr(EG(ini_directives), name)) == NULL) {