summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs3-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/server/src/nfs3-helpers.c')
-rw-r--r--xlators/nfs/server/src/nfs3-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c
index 6b9c452c283..72861dfd0e8 100644
--- a/xlators/nfs/server/src/nfs3-helpers.c
+++ b/xlators/nfs/server/src/nfs3-helpers.c
@@ -1883,7 +1883,7 @@ nfs3_fdcache_add (struct nfs3_state *nfs3, fd_t *fd)
{
gf_log (GF_NFS3, GF_LOG_TRACE, "Adding fd: 0x%lx",
(long int) fd);
- fd_ctx_set (fd, nfs3->nfsx, (uint64_t)fde);
+ fd_ctx_set (fd, nfs3->nfsx, (uintptr_t)fde);
fd_bind (fd);
list_add_tail (&fde->list, &nfs3->fdlru);
++nfs3->fdcount;
@@ -1945,7 +1945,7 @@ __nfs3_queue_call_state (nfs3_call_state_t *cs)
gf_log (GF_NFS3, GF_LOG_TRACE, "Initing inode queue");
INIT_LIST_HEAD (inode_q);
- __inode_ctx_put (cs->resolvedloc.inode, cs->nfsx, (uint64_t)inode_q);
+ __inode_ctx_put (cs->resolvedloc.inode, cs->nfsx, (uintptr_t)inode_q);
attach_cs:
if (list_empty (inode_q)) {