Fixed sign-compare warnings
This commit is contained in:
parent
3eb3ad3cab
commit
93ad9a2092
@ -110,7 +110,7 @@ static UINT encomsp_recv_change_participant_control_level_pdu(
|
||||
|
||||
if ((beg + header->Length) > end)
|
||||
{
|
||||
if (Stream_GetRemainingLength(s) < ((beg + header->Length) - end))
|
||||
if (Stream_GetRemainingLength(s) < (size_t)((beg + header->Length) - end))
|
||||
{
|
||||
WLog_ERR(TAG, "Not enough data!");
|
||||
return ERROR_INVALID_DATA;
|
||||
|
Loading…
Reference in New Issue
Block a user