Fixed sign-compare warnings

This commit is contained in:
Armin Novak 2019-02-07 14:33:39 +01:00
parent 3eb3ad3cab
commit 93ad9a2092

View File

@ -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;