summaryrefslogtreecommitdiffstats
path: root/xlators/features/index/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/index/src/index.c')
-rw-r--r--xlators/features/index/src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/index/src/index.c b/xlators/features/index/src/index.c
index fb295488789..98dba95abad 100644
--- a/xlators/features/index/src/index.c
+++ b/xlators/features/index/src/index.c
@@ -77,7 +77,7 @@ __index_inode_ctx_get(inode_t *inode, xlator_t *this, index_inode_ctx_t **ctx)
}
INIT_LIST_HEAD(&ictx->callstubs);
- ret = __inode_ctx_put(inode, this, (uint64_t)ictx);
+ ret = __inode_ctx_put(inode, this, (uint64_t)(uintptr_t)ictx);
if (ret) {
GF_FREE(ictx);
ictx = NULL;