Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10161
-gerrit
commit 5b4a0a42438e007ffda366a6400e330ca03469b0 Author: Patrick Georgi patrick@georgi-clan.de Date: Sat May 9 08:36:28 2015 +0200
cbfstool: fix 32bit host issue
Change-Id: Iaec748b4bdbb5da287520fbbd7c3794bf664eff6 Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/cbfstool/partitioned_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/cbfstool/partitioned_file.c b/util/cbfstool/partitioned_file.c index 6473963..700a2d3 100644 --- a/util/cbfstool/partitioned_file.c +++ b/util/cbfstool/partitioned_file.c @@ -201,7 +201,7 @@ partitioned_file_t *partitioned_file_reopen(const char *filename,
const struct fmap_area *fmap_fmap_entry = fmap_find_area(file->fmap, SECTION_NAME_FMAP); - if (fmap_fmap_entry->offset != fmap_region_offset) { + if ((long)fmap_fmap_entry->offset != fmap_region_offset) { ERROR("FMAP's '%s' section doesn't point back to FMAP start (did something corrupt this file?)\n", SECTION_NAME_FMAP); partitioned_file_close(file);