[core,license] Fix build on msvnc with WITH_DEBUG_LICENSE

This commit is contained in:
Richard Markiewicz 2023-06-13 20:45:12 -04:00 committed by akallabeth
parent 3b9a19e993
commit 946cfb1068

View File

@ -773,7 +773,7 @@ static BOOL license_send(rdpLicense* license, wStream* s, BYTE type)
#ifdef WITH_DEBUG_LICENSE
WLog_DBG(TAG, "Sending %s Packet, length %" PRIu16 "", license_request_type_string(type),
wMsgSize);
winpr_HexDump(TAG, WLOG_DEBUG, Stream_Pointer(s) - LICENSE_PREAMBLE_LENGTH, wMsgSize);
winpr_HexDump(TAG, WLOG_DEBUG, Stream_PointerAs(s, char) - LICENSE_PREAMBLE_LENGTH, wMsgSize);
#endif
Stream_SetPosition(s, length);
ret = rdp_send(rdp, s, MCS_GLOBAL_CHANNEL_ID);