mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 01:44:35 +08:00
[channels,remdesk] fix const correctness of function
This commit is contained in:
parent
3c8cd7fb7e
commit
541fc3a8c6
@ -23,7 +23,7 @@
|
||||
#include <freerdp/channels/log.h>
|
||||
#define TAG CHANNELS_TAG("remdesk.common")
|
||||
|
||||
UINT remdesk_write_channel_header(wStream* s, REMDESK_CHANNEL_HEADER* header)
|
||||
UINT remdesk_write_channel_header(wStream* s, const REMDESK_CHANNEL_HEADER* header)
|
||||
{
|
||||
WCHAR ChannelNameW[32] = { 0 };
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include <freerdp/channels/remdesk.h>
|
||||
|
||||
FREERDP_LOCAL UINT remdesk_write_channel_header(wStream* s, REMDESK_CHANNEL_HEADER* header);
|
||||
FREERDP_LOCAL UINT remdesk_write_channel_header(wStream* s, const REMDESK_CHANNEL_HEADER* header);
|
||||
FREERDP_LOCAL UINT remdesk_write_ctl_header(wStream* s, const REMDESK_CTL_HEADER* ctlHeader);
|
||||
FREERDP_LOCAL UINT remdesk_read_channel_header(wStream* s, REMDESK_CHANNEL_HEADER* header);
|
||||
FREERDP_LOCAL UINT remdesk_prepare_ctl_header(REMDESK_CTL_HEADER* ctlHeader, UINT32 msgType,
|
||||
|
Loading…
Reference in New Issue
Block a user