[warnings] fix integer narrowing

This commit is contained in:
akallabeth 2024-10-03 13:15:25 +02:00
parent 4b5274c34f
commit 4fc2e1bb3e
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -75,7 +75,7 @@ struct winpr_comm
ULONG WaitEventMask;
ULONG PendingEvents;
char eventChar;
BYTE eventChar;
/* NB: CloseHandle() has to free resources */
};