mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 20:51:36 +00:00
cpukit/rtl-*: Correct comparisons of different signedness
The GCC warning -Wsign-compare flagged these instances of comparing signed and unsigned types. A common pair was size_t and int.
This commit is contained in:
committed by
Amar Takhar
parent
426f938869
commit
f8a2b1f06b
@@ -122,7 +122,7 @@ typedef struct rtems_rtl_archives
|
||||
{
|
||||
const char* config_name; /**< Config file name. */
|
||||
time_t config_mtime; /**< Config last modified time. */
|
||||
size_t config_length; /**< Length the config data. */
|
||||
ssize_t config_length; /**< Length the config data. */
|
||||
char* config; /**< Config file contents. */
|
||||
rtems_chain_control archives; /**< The located archives. */
|
||||
} rtems_rtl_archives;
|
||||
|
||||
Reference in New Issue
Block a user