From f96123d8cff0c6183cdc889a3a4df343be5f1ab1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 21 Jul 2022 12:51:56 +0200 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgamma_LibgammaException.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgamma_LibgammaException.c') diff --git a/libgamma_LibgammaException.c b/libgamma_LibgammaException.c index 52d19d7..f686dd8 100644 --- a/libgamma_LibgammaException.c +++ b/libgamma_LibgammaException.c @@ -65,7 +65,7 @@ Java_libgamma_LibgammaException_value_1of_1error(JNIEnv *env, jclass class, jstr jint Java_libgamma_LibgammaException_libgamma_1group_1gid(JNIEnv *env, jclass class) { - return libgamma_group_gid; + return (jint)libgamma_group_gid; (void) env; (void) class; } -- cgit v1.2.3-70-g09d2