Fixed const warnings
This commit is contained in:
parent
628c465d38
commit
1f59dff316
@ -483,7 +483,7 @@ static int fastpath_recv_update_data(rdpFastPath* fastpath, wStream* s)
|
||||
BYTE compression;
|
||||
BYTE compressionFlags;
|
||||
UINT32 DstSize = 0;
|
||||
BYTE* pDstData = NULL;
|
||||
const BYTE* pDstData = NULL;
|
||||
rdpTransport* transport;
|
||||
|
||||
if (!fastpath || !s)
|
||||
|
@ -915,7 +915,7 @@ int rdp_recv_data_pdu(rdpRdp* rdp, wStream* s)
|
||||
if (compressedType & PACKET_COMPRESSED)
|
||||
{
|
||||
UINT32 DstSize = 0;
|
||||
BYTE* pDstData = NULL;
|
||||
const BYTE* pDstData = NULL;
|
||||
UINT16 SrcSize = compressedLength - 18;
|
||||
|
||||
if ((compressedLength < 18) || (Stream_GetRemainingLength(s) < SrcSize))
|
||||
|
Loading…
Reference in New Issue
Block a user