[channels,remdesk] fix const correctness of function

This commit is contained in:
akallabeth 2024-11-14 11:14:36 +01:00
parent 3c8cd7fb7e
commit 541fc3a8c6
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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