diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 2743909f5a9..106bc541410 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -4529,7 +4529,7 @@ static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args if (Z_TYPE_P(entry) == IS_STRING) { if (hash_key->key) { - add_assoc_str_ex(retval, hash_key->key->val, (uint)hash_key->key->len, zend_string_copy(Z_STR_P(entry))); + add_assoc_str_ex(retval, hash_key->key->val, hash_key->key->len, zend_string_copy(Z_STR_P(entry))); } else { add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry))); }