From b4533a4ae29cbdcdacd7a9ab5550051772ef7608 Mon Sep 17 00:00:00 2001 From: zoff99 Date: Fri, 22 Mar 2024 16:03:54 +0100 Subject: [PATCH] fix wrong return type --- jni-c-toxcore/jni-c-toxcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni-c-toxcore/jni-c-toxcore.c b/jni-c-toxcore/jni-c-toxcore.c index fb41791b6..0ba53d833 100644 --- a/jni-c-toxcore/jni-c-toxcore.c +++ b/jni-c-toxcore/jni-c-toxcore.c @@ -4441,7 +4441,7 @@ Java_com_zoffcc_applications_trifa_MainActivity_tox_1self_1get_1name_1size(JNIEn { if(tox_global == NULL) { - return NULL; + return (jlong)0; } long long l = (long long)tox_self_get_name_size(tox_global);