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:
Maciej Suminski 2017-08-09 11:30:14 +02:00 committed by Nico Huber
parent 98f30340cf
commit 3455672797
1 changed files with 2 additions and 2 deletions

View File

@ -273,8 +273,8 @@ int main(int argc, char *argv[])
struct pci_access *pacc;
struct pci_dev *sb = NULL, *nb, *gfx = NULL, *ahci = NULL, *dev;
const char *dump_spd_file = NULL;
int i, opt, option_index = 0;
unsigned int id;
int opt, option_index = 0;
unsigned int id, i;
char *sbname = "unknown", *nbname = "unknown", *gfxname = "unknown";