aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/basechars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'native/jni/src/basechars.cpp')
-rw-r--r--native/jni/src/basechars.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/native/jni/src/basechars.cpp b/native/jni/src/basechars.cpp
index c91e5f741..379cb6226 100644
--- a/native/jni/src/basechars.cpp
+++ b/native/jni/src/basechars.cpp
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include "char_utils.h"
namespace latinime {
@@ -24,7 +26,7 @@ namespace latinime {
* if c is not a combined character, or the base character if it
* is combined.
*/
-const unsigned short BASE_CHARS[BASE_CHARS_SIZE] = {
+const uint16_t BASE_CHARS[BASE_CHARS_SIZE] = {
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f,
0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017,