cbfstool: fix 32bit host issue
Change-Id: Iaec748b4bdbb5da287520fbbd7c3794bf664eff6 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10161 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Sol Boucher <solb@chromium.org>
This commit is contained in:
parent
94383da335
commit
c7a8c3835d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue