Skip to content

Commit

Permalink
fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Sep 16, 2024
1 parent 60ad23d commit cdd0d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toxav/rtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ int rtp_send_data(RTPSession *session, const uint8_t *data, uint32_t length, boo
memcpy(rdata + 1 + RTP_HEADER_SIZE, data, length);

if (rtp_send_custom_lossy_packet(session->tox, session->friend_number, rdata, length) == -1) {
LOGGER_API_DEBUG(session->tox, "RTP send failed (len: %zu)! std error: %s", length, strerror(errno));
LOGGER_API_DEBUG(session->tox, "RTP send failed (len: %d)! std error: %s", (int)length, strerror(errno));
}
} else {
/**
Expand Down

0 comments on commit cdd0d98

Please sign in to comment.