diff options
Diffstat (limited to 'src/unicode-neon.c')
-rw-r--r-- | src/unicode-neon.c | 3 |
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); |