diff options
Diffstat (limited to 'native/jni/src/char_utils.h')
-rw-r--r-- | native/jni/src/char_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/jni/src/char_utils.h b/native/jni/src/char_utils.h index b30677fa7..b17f262ec 100644 --- a/native/jni/src/char_utils.h +++ b/native/jni/src/char_utils.h @@ -18,6 +18,7 @@ #define LATINIME_CHAR_UTILS_H #include <cctype> +#include <stdint.h> namespace latinime { @@ -43,7 +44,7 @@ unsigned short latin_tolower(const unsigned short c); */ static const int BASE_CHARS_SIZE = 0x0500; -extern const unsigned short BASE_CHARS[BASE_CHARS_SIZE]; +extern const uint16_t BASE_CHARS[BASE_CHARS_SIZE]; inline static unsigned short toBaseChar(unsigned short c) { if (c < BASE_CHARS_SIZE) { |