From: Dave Chinner Date: Mon, 18 Jan 2010 00:10:24 +0000 (+1100) Subject: xfsprogs: fix trivial warnings in xfs_fsr X-Git-Tag: v3.1.1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cad114df8a4c7bad77aee380ab9620bbb0048d5f;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: fix trivial warnings in xfs_fsr GCC complains about assignments between (unsigned long long *) and (__u64 *) pointers. Just add a cast to shut it up. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c index 21f08c341..1f933c774 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;