mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnigns] fix Wshorten-64-to-32
This commit is contained in:
@@ -101,7 +101,7 @@ static BOOL pf_server_parse_target_from_routing_token(rdpContext* context, rdpSe
|
||||
if (p > USHRT_MAX)
|
||||
return FALSE;
|
||||
|
||||
if (!freerdp_settings_set_uint32(settings, portID, p))
|
||||
if (!freerdp_settings_set_uint32(settings, portID, (USHORT)p))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user