am 0f4de30e: Fix a bug on jni of DicTraverseSession

* commit '0f4de30e589deba221b92b3bde341c54fd9d1b9d':
  Fix a bug on jni of DicTraverseSession
main
Satoshi Kataoka 2012-08-10 04:56:07 -07:00 committed by Android Git Automerger
commit 5d9d69d2f1
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ static jlong latinime_setDicTraverseSession(JNIEnv *env, jobject object, jstring
return reinterpret_cast<jlong>(traverseSession); return reinterpret_cast<jlong>(traverseSession);
} }
static void latinime_initDicTraverseSession(JNIEnv *env, jlong traverseSession, static void latinime_initDicTraverseSession(JNIEnv *env, jobject object, jlong traverseSession,
jlong dictionary, jintArray previousWord, jint previousWordLength) { jlong dictionary, jintArray previousWord, jint previousWordLength) {
void *ts = reinterpret_cast<void*>(traverseSession); void *ts = reinterpret_cast<void*>(traverseSession);
Dictionary *dict = reinterpret_cast<Dictionary*>(dictionary); Dictionary *dict = reinterpret_cast<Dictionary*>(dictionary);