]> 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, 27 Sep 2011 13:24:01 +0000 (15:24 +0200)
commitc4730f108e4fa9869739a457d55ba19d450675e2
tree578c2a617a08d796ec705bb8fa5a279889683167
parent26f0feac990cbd93d3f3b903bb4c9376ae8cb5f7
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