aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/basechars.cpp
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-09-03 22:26:42 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-03 22:26:42 -0700
commitd34dd5bb6bb01666171a37e9cefe46bb20d04e93 (patch)
tree622095ad7f31220916d09deee472c1a6246a7970 /native/jni/src/basechars.cpp
parent2c0c1cc677b947521384c5b9bc2b7b0469929581 (diff)
parentf2789819bd005b5b0581e8439601b5501306327d (diff)
downloadlatinime-d34dd5bb6bb01666171a37e9cefe46bb20d04e93.tar.gz
latinime-d34dd5bb6bb01666171a37e9cefe46bb20d04e93.tar.xz
latinime-d34dd5bb6bb01666171a37e9cefe46bb20d04e93.zip
Merge "Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness()." into jb-mr1-dev
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,