summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index 5415b6302ae..40273d5de5b 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -89,7 +89,7 @@ libgf_client_forget (xlator_t *this,
libglusterfs_client_inode_ctx_t *ctx = NULL;
inode_ctx_del (inode, this, &ptr);
- ctx = (libglusterfs_client_inode_ctx_t *)ptr;
+ ctx = (libglusterfs_client_inode_ctx_t *)(long) ptr;
FREE (ctx);