[PATCH 4/7] xfsprogs: fix trivial warnings in xfs_fsr
Dave Chinner
david at fromorbit.com
Mon Jan 18 18:36:50 CST 2010
GCC complains about assignments between (unsigned long long *)
and (__u64 *) pointers. Just add a cast to shut it up.
Signed-off-by: Dave Chinner <david at fromorbit.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
---
fsr/xfs_fsr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
index 21f08c3..1f933c7 100644
--- a/fsr/xfs_fsr.c
+++ b/fsr/xfs_fsr.c
@@ -133,7 +133,7 @@ xfs_bulkstat_single(int fd, xfs_ino_t *lastip, xfs_bstat_t *ubuffer)
{
xfs_fsop_bulkreq_t bulkreq;
- bulkreq.lastip = lastip;
+ bulkreq.lastip = (__u64 *)lastip;
bulkreq.icount = 1;
bulkreq.ubuffer = ubuffer;
bulkreq.ocount = NULL;
@@ -146,7 +146,7 @@ xfs_bulkstat(int fd, xfs_ino_t *lastip, int icount,
{
xfs_fsop_bulkreq_t bulkreq;
- bulkreq.lastip = lastip;
+ bulkreq.lastip = (__u64 *)lastip;
bulkreq.icount = icount;
bulkreq.ubuffer = ubuffer;
bulkreq.ocount = ocount;
--
1.6.5
More information about the xfs
mailing list