mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[stream] use const correct Stream_Pointer access
This commit is contained in:
@@ -2081,7 +2081,7 @@ static UINT rdpgfx_on_data_received(IWTSVirtualChannelCallback* pChannelCallback
|
||||
UINT error = CHANNEL_RC_OK;
|
||||
|
||||
WINPR_ASSERT(gfx);
|
||||
status = zgfx_decompress(gfx->zgfx, Stream_Pointer(data),
|
||||
status = zgfx_decompress(gfx->zgfx, Stream_ConstPointer(data),
|
||||
(UINT32)Stream_GetRemainingLength(data), &pDstData, &DstSize, 0);
|
||||
|
||||
if (status < 0)
|
||||
|
||||
Reference in New Issue
Block a user