aboutsummaryrefslogtreecommitdiff
path: root/src/unicode-neon.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-22 13:25:24 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-22 13:26:22 +0200
commit0c83d031ff793f364b86bcf557584580edfe66a5 (patch)
treebeef319096e8545d7dbf0091e46a57626c27ea1f /src/unicode-neon.c
parent9e127d92246d6577792122b013088466e3688da1 (diff)
Rename lots of things to make my life easier
Diffstat (limited to 'src/unicode-neon.c')
-rw-r--r--src/unicode-neon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unicode-neon.c b/src/unicode-neon.c
index c072aee..bbabd35 100644
--- a/src/unicode-neon.c
+++ b/src/unicode-neon.c
@@ -27,6 +27,7 @@
#include <arm_neon.h>
#include <stdint.h>
+#include "types.h"
#include "unicode.h"
#pragma GCC diagnostic ignored "-Woverflow"
@@ -54,7 +55,7 @@ static const uint8_t _range_adjust_tbl[] = {
};
bool
-utf8_validate_simd(const unsigned char *s, size_t len)
+utf8_validate_simd(const uchar *s, size_t len)
{
if (len >= 32) {
uint8x16_t prev_input = vdupq_n_u8(0);