]> git.ipfire.org Git - thirdparty/util-linux.git/commit - disk-utils/fdisk.c
libfdisk: don't use off_t in public API
authorKarel Zak <kzak@redhat.com>
Mon, 26 Jan 2015 11:12:30 +0000 (12:12 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Jan 2015 11:26:00 +0000 (12:26 +0100)
commit9bbcf43f882c29ef2003950d8e3d468f05996205
tree760c8ee12190881b6fee5fef09ff77831a1f7be8
parent3df1a79ad5ed1d54af58a4c26c208c65e53e3f6c
libfdisk: don't use off_t in public API

It's better to use exact and explicitly defined types (e.g. uint64_t)
rather than something like off_t to make code more portable.

[reported with gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3)]

The patch also fixes one debug message.

Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.c
disk-utils/sfdisk.c
libfdisk/src/dos.c
libfdisk/src/fdiskP.h
libfdisk/src/gpt.c
libfdisk/src/label.c
libfdisk/src/libfdisk.h.in