From f8a0df591fe979c6f3148b1073dc3ea19948d72f Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Mon, 31 May 2021 16:11:30 -0400 Subject: [PATCH] fix: use proper return type for static booleans Signed-off-by: Chris Waldon --- jni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni.c b/jni.c index 1a06b95..e66bd9f 100644 --- a/jni.c +++ b/jni.c @@ -118,7 +118,7 @@ jint _jni_CallStaticIntMethodA(JNIEnv *env, jclass cls, jmethodID method, jvalue return (*env)->CallStaticIntMethodA(env, cls, method, args); } -jint _jni_CallStaticBooleanMethodA(JNIEnv *env, jclass cls, jmethodID method, jvalue *args) { +jboolean _jni_CallStaticBooleanMethodA(JNIEnv *env, jclass cls, jmethodID method, jvalue *args) { return (*env)->CallStaticBooleanMethodA(env, cls, method, args); }