Remove unnecessary cast.

This commit is contained in:
akallabeth 2020-04-15 17:47:42 +02:00
parent 55f18cb8a5
commit 09d0124418

View File

@ -195,7 +195,7 @@ static BOOL wts_read_drdynvc_data_first(rdpPeerChannel* channel, wStream* s, int
Stream_SetPosition(channel->receiveData, 0);
if (!Stream_EnsureRemainingCapacity(channel->receiveData, (int)channel->dvc_total_length))
if (!Stream_EnsureRemainingCapacity(channel->receiveData, channel->dvc_total_length))
return FALSE;
Stream_Write(channel->receiveData, Stream_Pointer(s), length);