diff options
author | Maciej Suminski <maciej.suminski@cern.ch> | 2017-08-09 11:30:14 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-08-20 21:45:10 +0000 |
commit | 345567279722fc2391a54f263a2d0e494e3bb759 (patch) | |
tree | 817fecc3a45cdc0eaedc27e86a223b81389baa0b /util | |
parent | 98f30340cf7443d4ef63a855ee96935946223da0 (diff) | |
download | coreboot-345567279722fc2391a54f263a2d0e494e3bb759.tar.gz coreboot-345567279722fc2391a54f263a2d0e494e3bb759.tar.bz2 coreboot-345567279722fc2391a54f263a2d0e494e3bb759.zip |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/inteltool/inteltool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c index 2f3fc7dc0335..f873590031dd 100644 --- a/util/inteltool/inteltool.c +++ b/util/inteltool/inteltool.c @@ -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"; |