[coreboot-gerrit] Change in coreboot[master]: util/inteltool: Fixed a comparison between signed and unsigned integers

Maciej Sumi?ski (Code Review) gerrit at coreboot.org
Wed Aug 16 00:02:41 CEST 2017


Maciej Sumi?ski has uploaded this change for review. ( https://review.coreboot.org/21024


Change subject: util/inteltool: Fixed a comparison between signed and unsigned integers
......................................................................

util/inteltool: Fixed a comparison between signed and unsigned integers

Change-Id: Ic6489c408a87213d3c39626c5379a44acea2c34d
Signed-off-by: Maciej Suminski <maciej.suminski at cern.ch>
---
M util/inteltool/inteltool.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/21024/1

diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 2f3fc7d..f873590 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -273,8 +273,8 @@
 	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";
 

-- 
To view, visit https://review.coreboot.org/21024
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6489c408a87213d3c39626c5379a44acea2c34d
Gerrit-Change-Number: 21024
Gerrit-PatchSet: 1
Gerrit-Owner: Maciej Sumi?ski <maciej.suminski at cern.ch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170815/5663e3f9/attachment.html>


More information about the coreboot-gerrit mailing list