diff options
Diffstat (limited to 'xlators/performance/readdir-ahead')
-rw-r--r-- | xlators/performance/readdir-ahead/src/readdir-ahead.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |