summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache/src/io-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.c')
-rw-r--r--xlators/performance/io-cache/src/io-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c
index 843fc36396a..e8e04c03434 100644
--- a/xlators/performance/io-cache/src/io-cache.c
+++ b/xlators/performance/io-cache/src/io-cache.c
@@ -332,7 +332,7 @@ ioc_invalidate(xlator_t *this, inode_t *inode)
ioc_inode_t *ioc_inode = NULL;
inode_ctx_get(inode, this, (uint64_t *)&ioc_addr);
- ioc_inode = (void *)ioc_addr;
+ ioc_inode = (void *)(uintptr_t)ioc_addr;
if (ioc_inode)
ioc_inode_flush(ioc_inode);