[warnings] fix integer narrowing
This commit is contained in:
parent
42d66eaebe
commit
83921b0f67
@ -1007,7 +1007,9 @@ int rpc_in_channel_send_pdu(RpcInChannel* inChannel, const BYTE* buffer, size_t
|
||||
inChannel->SenderAvailableWindow -= status;
|
||||
}
|
||||
|
||||
return status;
|
||||
if (status > INT32_MAX)
|
||||
return -1;
|
||||
return (int)status;
|
||||
}
|
||||
|
||||
BOOL rpc_client_write_call(rdpRpc* rpc, wStream* s, UINT16 opnum)
|
||||
|
Loading…
Reference in New Issue
Block a user