From f8a2b1f06bbb289ec0488cb9cf011f22487eb347 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Nov 2025 10:01:23 -0600 Subject: [PATCH] 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. --- cpukit/include/rtems/rtl/rtl-archive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/include/rtems/rtl/rtl-archive.h b/cpukit/include/rtems/rtl/rtl-archive.h index 6684815c89..3c8516e02f 100644 --- a/cpukit/include/rtems/rtl/rtl-archive.h +++ b/cpukit/include/rtems/rtl/rtl-archive.h @@ -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;