util/inteltool: Fix a comparison between signed and unsigned integers
Change-Id: Ic6489c408a87213d3c39626c5379a44acea2c34d Signed-off-by: Maciej Suminski <maciej.suminski@cern.ch> Reviewed-on: https://review.coreboot.org/21024 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
98f30340cf
commit
3455672797
|
@ -273,8 +273,8 @@ int main(int argc, char *argv[])
|
||||||
struct pci_access *pacc;
|
struct pci_access *pacc;
|
||||||
struct pci_dev *sb = NULL, *nb, *gfx = NULL, *ahci = NULL, *dev;
|
struct pci_dev *sb = NULL, *nb, *gfx = NULL, *ahci = NULL, *dev;
|
||||||
const char *dump_spd_file = NULL;
|
const char *dump_spd_file = NULL;
|
||||||
int i, opt, option_index = 0;
|
int opt, option_index = 0;
|
||||||
unsigned int id;
|
unsigned int id, i;
|
||||||
|
|
||||||
char *sbname = "unknown", *nbname = "unknown", *gfxname = "unknown";
|
char *sbname = "unknown", *nbname = "unknown", *gfxname = "unknown";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue