Skip to content

Commit 43b28ad

Browse files
committed
Fix compiler warning
1 parent 440c314 commit 43b28ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3029,7 +3029,7 @@ static zend_string* mb_trim_default_chars(zend_string *str, MB_TRIM_MODE mode, c
30293029
mb_convert_buf buf;
30303030
mb_convert_buf_init(&buf, trim_default_chars_length, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_illegal_mode));
30313031

3032-
enc->from_wchar(trim_default_chars, trim_default_chars_length, &buf, true);
3032+
enc->from_wchar((uint32_t *)trim_default_chars, trim_default_chars_length, &buf, true);
30333033

30343034
zend_string *what = mb_convert_buf_result(&buf, enc);
30353035
zend_string *result = trim_each_wchar(str, what, mode, enc);

0 commit comments

Comments
 (0)