summaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfstool.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2012-07-17 21:17:15 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-07-18 00:15:35 +0200
commit41c229c02944834a55fc0b17bed5950facc9eae6 (patch)
tree50bbaa901bef4ba42d2bc6f2d3439c226fee0629 /util/cbfstool/cbfstool.c
parent5c581c4d6c2c32bcfe67acaafd9aa513a8cad328 (diff)
downloadcoreboot-41c229c02944834a55fc0b17bed5950facc9eae6.tar.xz
cbfstool: signed vs. unsigned fixes
Use the right data types to fix compiler warnings. Change-Id: Id23739421ba9e4a35599355fac9a17300ae4bda9 Signed-off-by: Mathias Krause <minipli@googlemail.com> Reviewed-on: http://review.coreboot.org/1236 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/cbfstool/cbfstool.c')
-rw-r--r--util/cbfstool/cbfstool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 721bf33fa2..913fd330ac 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -348,7 +348,7 @@ static void which_endian(void)
int main(int argc, char **argv)
{
- int i;
+ size_t i;
if (argc < 3) {
usage();