summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-04-06 04:00:59 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-06 21:49:43 +0530
commit7a543c3b45139adce1189785200ad23b2ec867d2 (patch)
tree33775e6e2b4aa939a81220c1f79f635a5b7745ed
parent258da6cd992c279469f2288f8a3cd41be69d43c2 (diff)
Fix an incorrect type-cast in libglusterfsclient.c
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-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 5415b6302..40273d5de 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);