[warnings] fix integer narrowing
This commit is contained in:
parent
4b5274c34f
commit
4fc2e1bb3e
@ -224,11 +224,11 @@ typedef struct
|
||||
BYTE ByteSize;
|
||||
BYTE Parity;
|
||||
BYTE StopBits;
|
||||
char XonChar;
|
||||
char XoffChar;
|
||||
char ErrorChar;
|
||||
char EofChar;
|
||||
char EvtChar;
|
||||
BYTE XonChar;
|
||||
BYTE XoffChar;
|
||||
BYTE ErrorChar;
|
||||
BYTE EofChar;
|
||||
BYTE EvtChar;
|
||||
WORD wReserved1;
|
||||
} DCB, *LPDCB;
|
||||
|
||||
|
@ -75,7 +75,7 @@ struct winpr_comm
|
||||
ULONG WaitEventMask;
|
||||
ULONG PendingEvents;
|
||||
|
||||
char eventChar;
|
||||
BYTE eventChar;
|
||||
/* NB: CloseHandle() has to free resources */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user