boot: Unify idx type handling
authorJan Janssen <medhefgo@web.de>
Mon, 3 Jan 2022 09:41:45 +0000 (10:41 +0100)
committerJan Janssen <medhefgo@web.de>
Mon, 3 Jan 2022 09:41:45 +0000 (10:41 +0100)
commitfb90100cf02aff4b3b6d46ea3022370a912b9e6c
tree9d81f9bc84039a345733f12bd6f12de50dcb7c12
parent159636cf74e2a14009925335bdefcc54904cc991
boot: Unify idx type handling

This replaces several inconsistent use of types and unsound
signed comparisons.
The added max entry count is just for paranoia. Anyone with that
many boot entries deserves a medal.
src/boot/efi/boot.c