- Fix wrong cast

This commit is contained in:
Moriyoshi Koizumi 2008-07-25 13:56:50 +00:00
parent 6182c24aa8
commit 86e8d7ebf1

View File

@ -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, ",");