Messages in this thread | | | Date | Tue, 25 Apr 2006 23:12:05 -0600 | From | Andreas Dilger <> | Subject | Re: [Ext2-devel] [UPDATE][14/21]e2fsprogs modify variables to exceed 2G |
| |
On Apr 26, 2006 10:49 +0900, sho@tnes.nec.co.jp wrote: > + blk64_t end, save_blocks_count, i; > + (EXT2_BLOCKS_PER_GROUP(fs->super) * (__u64)fs->group_desc_count) - 1; > + blk64_t start_blk, last_blk; > + last_blk = (__u64) group_blk + fs->super->s_blocks_per_group - 1; > > + start_blk = (__u64) group_blk + fs->inode_blocks_per_group;
If a variable is declared as blk64_t it should be cast to (blk64_t) instead of (__u64) I think.
Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |