diff options
author | Christophe Grenier <[email protected]> | 2013-11-01 13:38:06 +0100 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2013-11-01 13:38:06 +0100 |
commit | 7172224ac4cbe9f4c40db5df505cfe8725108e53 (patch) | |
tree | 6b0d5445d46c577975c28b8192c0af39f316d5bc /src/swap.c | |
parent | 9440623c9768c7e235be10ed595149fdb644a911 (diff) |
Fix various issues reported by Coverity scan
Diffstat (limited to 'src/swap.c')
-rw-r--r-- | src/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ int recover_Linux_SWAP(const union swap_header *swap_header, partition_t *partit for(j=7;j>=0;j--) if((swap_header->magic8k.reserved[i]&(1<<j))!=(char)0) break; - partition->part_size=(uint64_t)((8*i+j+1)*PAGE_8K); + partition->part_size=(uint64_t)(8*i+j+1)*PAGE_8K; } break; case UP_LINSWAP2_8K: |