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

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




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

 >                                      &HandleCount,
 >                                      &HandleBuffer);
 >      if (!EFI_ERROR (status)) {
 > -        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_141314
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/05bedd80/attachment.htm>


More information about the bugs mailing list