diff options
author | 2012-09-04 12:49:46 +0900 | |
---|---|---|
committer | 2012-09-04 14:23:37 +0900 | |
commit | f2789819bd005b5b0581e8439601b5501306327d (patch) | |
tree | a293e9aab8c0d097996e681cc86172f84caf37eb /native/jni/src/basechars.cpp | |
parent | 1a397ececf88f2daffa103f8411aa9cbaabb50da (diff) | |
download | latinime-f2789819bd005b5b0581e8439601b5501306327d.tar.gz latinime-f2789819bd005b5b0581e8439601b5501306327d.tar.xz latinime-f2789819bd005b5b0581e8439601b5501306327d.zip |
Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness().
This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25
Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4
Diffstat (limited to 'native/jni/src/basechars.cpp')
-rw-r--r-- | native/jni/src/basechars.cpp | 4 |
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, |