Skip to content

Commit 13b4162

Browse files
committed
cast deleted
1 parent f0bd3c7 commit 13b4162

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mbstring/mbstring.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4909,10 +4909,10 @@ static bool mb_fast_check_utf8_default(zend_string *str)
49094909
}
49104910

49114911
if (i < len) {
4912-
char buffer[16];
4912+
int8_t buffer[16];
49134913
memset(buffer, 0, 16);
49144914
memcpy(buffer, p + i, len - i);
4915-
int8x16_t current_bytes = vld1q_s8((int8_t *)buffer);
4915+
int8x16_t current_bytes = vld1q_s8(buffer);
49164916
neon_check_utf8_bytes(current_bytes, &previous, &has_error);
49174917
} else {
49184918
has_error = vorrq_s8(vreinterpretq_s8_u8(vcgtq_s8(previous.carried_continuations, vld1q_s8(_verror))), has_error);

0 commit comments

Comments
 (0)