]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: get_disksize() returns long long
authorPetr Uzel <petr.uzel@suse.cz>
Mon, 19 Sep 2011 13:29:12 +0000 (15:29 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Oct 2011 12:22:27 +0000 (14:22 +0200)
commite08c42b439438e07c81a3b96b1f07e648055f86e
tree81a7f7ff3d6d3f4dbaf91f5cafd380dde7ce69f1
parent77c4a5dcd667180c608a390de9693cd95a82c28d
sfdisk: get_disksize() returns long long

unsigned long is 4 bytes long on i586, which is not enough for big
HDD's with 512B sectors. Use unsigned long long, which is 8 bytes.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
fdisk/sfdisk.c