diff options
author | Christophe Grenier <grenier@cgsecurity.org> | 2018-03-15 10:10:22 +0100 |
---|---|---|
committer | Christophe Grenier <grenier@cgsecurity.org> | 2018-03-15 10:10:22 +0100 |
commit | f29f7ab54cbb930dbd551eed92cf78af30f9abf3 (patch) | |
tree | bf7c203122425dce3dbb9c249a0ae9b7e267da02 /src/exfat.c | |
parent | f3bdb0f39cc38916ed25e3fec0739e2d15193cfe (diff) |
Fix various warnings
Diffstat (limited to 'src/exfat.c')
-rw-r--r-- | src/exfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exfat.c b/src/exfat.c index 8d6d28d..dac6e74 100644 --- a/src/exfat.c +++ b/src/exfat.c @@ -105,7 +105,7 @@ int recover_exFAT(const disk_t *disk, const struct exfat_super_block *exfat_head #endif if((le64(exfat_header->start_sector) * disk ->sector_size + (12 << exfat_header->blocksize_bits) == partition->part_offset) || - (disk->arch==&arch_none && (12 << exfat_header->blocksize_bits) == partition->part_offset)) + (disk->arch==&arch_none && ((uint64_t)12 << exfat_header->blocksize_bits) == partition->part_offset)) { partition->sb_offset=12 << exfat_header->blocksize_bits; partition->part_offset-=partition->sb_offset; |