[chanenls,drdynvc] use proper types instead of int
This commit is contained in:
parent
8b9b2db44b
commit
6d7c07076d
@ -1385,10 +1385,10 @@ static UINT drdynvc_process_close_request(drdynvcPlugin* drdynvc, int Sp, int cb
|
||||
*/
|
||||
static UINT drdynvc_order_recv(drdynvcPlugin* drdynvc, wStream* s, UINT32 ThreadingFlags)
|
||||
{
|
||||
int value;
|
||||
int Cmd;
|
||||
int Sp;
|
||||
int cbChId;
|
||||
UINT8 value;
|
||||
UINT8 Cmd;
|
||||
UINT8 Sp;
|
||||
UINT8 cbChId;
|
||||
|
||||
WINPR_ASSERT(drdynvc);
|
||||
if (!Stream_CheckAndLogRequiredLength(TAG, s, 1))
|
||||
@ -1398,7 +1398,8 @@ static UINT drdynvc_order_recv(drdynvcPlugin* drdynvc, wStream* s, UINT32 Thread
|
||||
Cmd = (value & 0xf0) >> 4;
|
||||
Sp = (value & 0x0c) >> 2;
|
||||
cbChId = (value & 0x03) >> 0;
|
||||
WLog_Print(drdynvc->log, WLOG_TRACE, "order_recv: Cmd=0x%x, Sp=%d cbChId=%d", Cmd, Sp, cbChId);
|
||||
WLog_Print(drdynvc->log, WLOG_TRACE,
|
||||
"order_recv: Cmd=0x02" PRIx8 ", Sp=%" PRIu8 " cbChId=%" PRIu8, Cmd, Sp, cbChId);
|
||||
|
||||
switch (Cmd)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user