diff --git a/fs/partition/fs_mbr.c b/fs/partition/fs_mbr.c index 672c9d76da..d8eccf45f9 100644 --- a/fs/partition/fs_mbr.c +++ b/fs/partition/fs_mbr.c @@ -36,7 +36,7 @@ ****************************************************************************/ #define MBR_SIZE 512 -#define MBR_LBA_TO_BLOCK(lba, blk) ((le32toh(lba) * 512 + (blk) - 1) / (blk)) +#define MBR_LBA_TO_BLOCK(lba, blk) (((blkcnt_t)le32toh(lba) * 512 + (blk) - 1) / (blk)) /**************************************************************************** * Private Types