mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 04:31:36 +00:00
cpukit/.../termios: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one. This is frequently an int or ssize_t variable compared to a uint32_t or size_t. Sometimes the size_t is from a sizeof() use.
This commit is contained in:
committed by
Gedare Bloom
parent
55d18c302e
commit
54d703967f
@@ -119,8 +119,8 @@ typedef struct rtems_termios_tty {
|
||||
* The canonical (cooked) character buffer
|
||||
*/
|
||||
char *cbuf;
|
||||
int ccount;
|
||||
int cindex;
|
||||
size_t ccount;
|
||||
size_t cindex;
|
||||
|
||||
/*
|
||||
* Keep track of cursor (printhead) position
|
||||
|
||||
Reference in New Issue
Block a user