mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
Fixed compiler warning.
This commit is contained in:
@@ -2249,7 +2249,7 @@ PHP_FUNCTION(mb_list_encodings)
|
||||
i = 0;
|
||||
encodings = mbfl_get_supported_encodings();
|
||||
while ((encoding = encodings[i++]) != NULL) {
|
||||
add_next_index_string(return_value, encoding->name, 1);
|
||||
add_next_index_string(return_value, (char *) encoding->name, 1);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user