RTEMS | bsps/x86_64: Address -Wsign-compare warnings (!1033)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Feb 4 22:58:28 UTC 2026




Joel Sherrill commented on a discussion on bsps/x86_64/amd64/console/eficonsole.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1033#note_141313

 >                                                             &HandleCount,
 >                                                             &HandleBuffer);
 >              if (status == EFI_SUCCESS) {
 > -                for (int i = 0; i < HandleCount; i++) {
 > +                for (uint32_t i = 0; i < HandleCount; i++) {

Addressed in new push. I got the uint32_t from the warning. Why UINTN is even in our tree is another question.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1033#note_141313
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260204/45474f76/attachment-0001.htm>


More information about the bugs mailing list