summaryrefslogtreecommitdiffstats
path: root/xlators/features/arbiter/src/arbiter.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/arbiter/src/arbiter.c')
-rw-r--r--xlators/features/arbiter/src/arbiter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/arbiter/src/arbiter.c b/xlators/features/arbiter/src/arbiter.c
index 436f228a566..4af68f9ba52 100644
--- a/xlators/features/arbiter/src/arbiter.c
+++ b/xlators/features/arbiter/src/arbiter.c
@@ -31,7 +31,7 @@ __arbiter_inode_ctx_get(inode_t *inode, xlator_t *this)
if (!ctx)
goto out;
- ret = __inode_ctx_put(inode, this, (uint64_t)ctx);
+ ret = __inode_ctx_put(inode, this, (uint64_t)(uintptr_t)ctx);
if (ret) {
GF_FREE(ctx);
ctx = NULL;