From 01779e6c6c2c876a9e137d51ee1ce6a8062ea893 Mon Sep 17 00:00:00 2001 From: Iraj Jamali Date: Mon, 17 Dec 2018 11:23:59 +0530 Subject: fix 32-bit-build-smoke warnings fixes: bz#1622665 Change-Id: I777d67b1b62c284c62a02277238ad7538eef001e Signed-off-by: Iraj Jamali --- xlators/performance/readdir-ahead/src/readdir-ahead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/performance/readdir-ahead') diff --git a/xlators/performance/readdir-ahead/src/readdir-ahead.c b/xlators/performance/readdir-ahead/src/readdir-ahead.c index 7ae5719e8e7..36835473f15 100644 --- a/xlators/performance/readdir-ahead/src/readdir-ahead.c +++ b/xlators/performance/readdir-ahead/src/readdir-ahead.c @@ -223,7 +223,7 @@ rda_mark_inode_dirty(xlator_t *this, inode_t *inode) if (val == 0) continue; - fd_ctx = (void *)val; + fd_ctx = (void *)(uintptr_t)val; uuid_utoa_r(inode->gfid, gfid); if (!GF_ATOMIC_GET(fd_ctx->prefetching)) continue; -- cgit