mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
- Fix wrong cast
This commit is contained in:
parent
6182c24aa8
commit
86e8d7ebf1
@ -4862,7 +4862,7 @@ MBSTRING_API int php_mb_set_zend_encoding(TSRMLS_D)
|
||||
list_size += strlen(name) + 1;
|
||||
if (!list) {
|
||||
list = (char*)emalloc(list_size);
|
||||
*list = (char)NULL;
|
||||
*list = '\0';
|
||||
} else {
|
||||
list = (char*)erealloc(list, list_size);
|
||||
strcat(list, ",");
|
||||
|
Loading…
Reference in New Issue
Block a user