diff options
author | Karel Zak | 2016-01-12 18:42:02 +0100 |
---|---|---|
committer | Karel Zak | 2016-01-12 18:42:10 +0100 |
commit | f12cd8d1e931f218b4e4c40fe431c3cc725ef1d3 (patch) | |
tree | 77cf63ea15e483d8aa48fe8ea7174bf93282dbda /misc-utils/blkid.c | |
parent | lsblk: use unsigned type for SIZE (diff) | |
download | kernel-qcow2-util-linux-f12cd8d1e931f218b4e4c40fe431c3cc725ef1d3.tar.gz kernel-qcow2-util-linux-f12cd8d1e931f218b4e4c40fe431c3cc725ef1d3.tar.xz kernel-qcow2-util-linux-f12cd8d1e931f218b4e4c40fe431c3cc725ef1d3.zip |
libblkid: use internally uint64_t for offsets and sizes
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/blkid.c')
-rw-r--r-- | misc-utils/blkid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c index eca35aa88..4ecbb5d3d 100644 --- a/misc-utils/blkid.c +++ b/misc-utils/blkid.c @@ -474,7 +474,7 @@ static int lowprobe_topology(blkid_probe pr) static int lowprobe_device(blkid_probe pr, const char *devname, int chain, char *show[], int output, - blkid_loff_t offset, blkid_loff_t size) + uint64_t offset, uint64_t size) { const char *data; const char *name; @@ -848,8 +848,8 @@ int main(int argc, char **argv) for (i = 0; i < numdev; i++) { err = lowprobe_device(pr, devices[i], lowprobe, show, output_format, - (blkid_loff_t) offset, - (blkid_loff_t) size); + (uint64_t) offset, + (uint64_t) size); if (err) break; } |