diff options
author | Steve Rae <srae@broadcom.com> | 2014-05-26 11:52:23 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-05 14:44:56 -0400 |
commit | e04350d2991ed628587e94b5b6d89c24f439e172 (patch) | |
tree | 0555be057a77454135819ffc1dcfbf8dae092c2f /fs | |
parent | dedf37bb61b2a4893f51f7aea2f37fe70d77ab0c (diff) | |
download | u-boot-imx-e04350d2991ed628587e94b5b6d89c24f439e172.zip u-boot-imx-e04350d2991ed628587e94b5b6d89c24f439e172.tar.gz u-boot-imx-e04350d2991ed628587e94b5b6d89c24f439e172.tar.bz2 |
disk: part_efi: clarify lbaint_t usage
- update the comments regarding lbaint_t usage
- cleanup casting of values related to the lbaint_t type
- cleanup of a type that requires a u64
Tested on little endian ARMv7 and ARMv8 configurations
Signed-off-by: Steve Rae <srae@broadcom.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fat/fat_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/fat_write.c b/fs/fat/fat_write.c index ba7e3ae..24ed5d3 100644 --- a/fs/fat/fat_write.c +++ b/fs/fat/fat_write.c @@ -947,7 +947,7 @@ static int do_fat_write(const char *filename, void *buffer, total_sector = bs.total_sect; if (total_sector == 0) - total_sector = cur_part_info.size; + total_sector = (int)cur_part_info.size; /* cast of lbaint_t */ if (mydata->fatsize == 32) mydata->fatlength = bs.fat32_length; |