From 0be36b694d97f5366a8a8411f5bfa294852a4d69 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 24 Nov 2025 17:34:51 -0600 Subject: [PATCH] bsps/m68k/mcf5329/console/console.c: Address type-limits warnings These changes were made to address GCC -Wtype-limits warnings. In this case, the type was unsigned and there was no need to compare it being >= 0. --- bsps/m68k/mcf5329/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/m68k/mcf5329/console/console.c b/bsps/m68k/mcf5329/console/console.c index 0c74106396..d6dc7b5c99 100644 --- a/bsps/m68k/mcf5329/console/console.c +++ b/bsps/m68k/mcf5329/console/console.c @@ -595,7 +595,7 @@ rtems_device_driver console_open(rtems_device_major_number major, }; /* open the port depending on the minor device number */ - if ((minor >= 0) && (minor < MAX_UART_INFO)) { + if (minor < MAX_UART_INFO) { info = &IntUartInfo[minor]; switch (info->iomode) { case TERMIOS_POLLED: