zrtp: fix compiler warning

This commit is contained in:
mkowalski 2023-11-21 16:03:14 +01:00
parent d7a3557bf3
commit 8e6a69905d
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ rtp_error_t uvgrtp::zrtp::get_srtp_keys(
rtp_error_t uvgrtp::zrtp::packet_handler(void* args, int rce_flags, uint8_t* read_ptr, size_t size, frame::rtp_frame** out)
{
if (size < 0 || (uint32_t)size < sizeof(uvgrtp::zrtp_msg::zrtp_msg))
if ((uint32_t)size < sizeof(uvgrtp::zrtp_msg::zrtp_msg))
{
return RTP_PKT_NOT_HANDLED;
}