mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-05 21:21:38 +00:00
bsps/aarch64: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one. This addresses warnings that only occurred on 64-bit targets. For the ones which only appeared on 64-bit targets, the cause was frequently a mismatch when comparing a combination off_t, ssize_t, and int.
This commit is contained in:
committed by
Gedare Bloom
parent
9cb3eecb5f
commit
38d2a37bc4
@@ -78,7 +78,7 @@ __attribute__ ((weak)) void zynqmp_configure_management_console(rtems_termios_de
|
||||
"\xc0\xda\x00\x00\xff\xff\xff\xff\xff\x00\xff\xff\xff\xffM#\xc0";
|
||||
|
||||
/* Send the system watchdog configuration command */
|
||||
for (int i = 0; i < sizeof(mgmt_watchdog_cmd); i++) {
|
||||
for (size_t i = 0; i < sizeof(mgmt_watchdog_cmd); i++) {
|
||||
ns16550_polled_putchar(base, mgmt_watchdog_cmd[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user