Skip to content

Commit

Permalink
fix missing brackets on cast
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Mar 14, 2024
1 parent 85179a2 commit 08d16fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jni-c-toxcore/jni-c-toxcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 08d16fe

Please sign in to comment.