Skip to content

Commit 728a946

Browse files
committed
update amalgamation
1 parent fea0044 commit 728a946

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

amalgamation/toxcore_amalgamation.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56192,7 +56192,7 @@ int read_packet_TCP_secure_connection(
5619256192
return -1;
5619356193
}
5619456194

56195-
VLA(uint8_t, data_encrypted, *next_packet_length);
56195+
VLA(uint8_t, data_encrypted, (int)(*next_packet_length));
5619656196
const int len_packet = read_TCP_packet(logger, ns, sock, data_encrypted, *next_packet_length, ip_port);
5619756197

5619856198
if (len_packet == -1) {
@@ -60831,6 +60831,7 @@ Tox_Connection tox_self_get_connection_status(const Tox *tox)
6083160831
}
6083260832

6083360833
LOGGER_FATAL(tox->m->log, "impossible return value: %d", ret);
60834+
return TOX_CONNECTION_NONE;
6083460835
}
6083560836

6083660837

amalgamation/toxcore_amalgamation_no_toxav.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53692,7 +53692,7 @@ int read_packet_TCP_secure_connection(
5369253692
return -1;
5369353693
}
5369453694

53695-
VLA(uint8_t, data_encrypted, *next_packet_length);
53695+
VLA(uint8_t, data_encrypted, (int)(*next_packet_length));
5369653696
const int len_packet = read_TCP_packet(logger, ns, sock, data_encrypted, *next_packet_length, ip_port);
5369753697

5369853698
if (len_packet == -1) {
@@ -58331,6 +58331,7 @@ Tox_Connection tox_self_get_connection_status(const Tox *tox)
5833158331
}
5833258332

5833358333
LOGGER_FATAL(tox->m->log, "impossible return value: %d", ret);
58334+
return TOX_CONNECTION_NONE;
5833458335
}
5833558336

5833658337

0 commit comments

Comments
 (0)