From 506d004e690a8aff886332245eb17073ff70c03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 11 May 2017 03:35:19 +0200 Subject: [PATCH] Fix static native method parameter --- .../jni/com_googlecode_tesseract_android/resultiterator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tess-two/jni/com_googlecode_tesseract_android/resultiterator.cpp b/tess-two/jni/com_googlecode_tesseract_android/resultiterator.cpp index dc4d1bc18..73358ca29 100644 --- a/tess-two/jni/com_googlecode_tesseract_android/resultiterator.cpp +++ b/tess-two/jni/com_googlecode_tesseract_android/resultiterator.cpp @@ -49,7 +49,7 @@ jfloat Java_com_googlecode_tesseract_android_ResultIterator_nativeConfidence(JNI } jobjectArray Java_com_googlecode_tesseract_android_ResultIterator_nativeGetSymbolChoices(JNIEnv *env, - jobject thiz, jlong nativeResultIterator) { + jclass clazz, jlong nativeResultIterator) { // Get the actual result iterator (as C object) ResultIterator *resultIterator = (ResultIterator *) nativeResultIterator;