From 08d16fe22d44a0be9d70a7c538372fb7185a59df Mon Sep 17 00:00:00 2001 From: zoff99 Date: Thu, 14 Mar 2024 19:32:34 +0100 Subject: [PATCH] fix missing brackets on cast --- 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 3728296b5..01b67d619 100644 --- a/jni-c-toxcore/jni-c-toxcore.c +++ b/jni-c-toxcore/jni-c-toxcore.c @@ -7764,7 +7764,7 @@ Java_com_zoffcc_applications_trifa_MainActivity_tox_1group_1get_1connection_1ip( #define IP_STR_MAX_STR_LEN (((39 + 1 + 5 + 2) * 6) + 10) char ip_str[IP_STR_MAX_STR_LEN + 1]; CLEAR(ip_str); - tox_group_get_connection_ip(tox_global, (uint32_t)group_number, (uint32_t)peer_id, uint8_t *ip_str); + tox_group_get_connection_ip(tox_global, (uint32_t)group_number, (uint32_t)peer_id, (uint8_t *)ip_str); jstring js1 = c_safe_string_from_java((char *)ip_str, IP_STR_MAX_STR_LEN); return js1; }