diff options
author | Ruediger Meier | 2016-02-22 16:32:06 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-29 13:04:48 +0100 |
commit | 262c94c2c72a59c51d41f25a94ce50363591e6a3 (patch) | |
tree | 145fd6d9f22685452b4de21326d90fd3053824e8 /libfdisk/src/gpt.c | |
parent | logger: use SCM_CREDENTIALS on LINUX only (diff) | |
download | kernel-qcow2-util-linux-262c94c2c72a59c51d41f25a94ce50363591e6a3.tar.gz kernel-qcow2-util-linux-262c94c2c72a59c51d41f25a94ce50363591e6a3.tar.xz kernel-qcow2-util-linux-262c94c2c72a59c51d41f25a94ce50363591e6a3.zip |
fdisk: fix warning, incompatible pointer types passing 'uint64_t *'
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libfdisk/src/gpt.c')
-rw-r--r-- | libfdisk/src/gpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index f795b35a2..cd88df0e6 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -2564,7 +2564,8 @@ static int gpt_toggle_partition_flag( unsigned long flag) { struct fdisk_gpt_label *gpt; - uint64_t attrs, tmp; + uint64_t attrs; + uintmax_t tmp; char *bits; const char *name = NULL; int bit = -1, rc; |