[proxy,rdpdr] fix integer narrow
This commit is contained in:
parent
f55a1e2bc3
commit
997ff57301
@ -457,7 +457,7 @@ static UINT rdpdr_process_client_name_request(pf_channel_server_context* rdpdr,
|
||||
return ERROR_INVALID_DATA;
|
||||
|
||||
Stream_Read_UINT32(s, unicodeFlag);
|
||||
rdpdr->common.computerNameUnicode = (unicodeFlag & 1);
|
||||
rdpdr->common.computerNameUnicode = ((unicodeFlag & 1) != 0) ? TRUE : FALSE;
|
||||
|
||||
Stream_Read_UINT32(s, codePage);
|
||||
WINPR_UNUSED(codePage); /* Field is ignored */
|
||||
|
Loading…
Reference in New Issue
Block a user