From 7a543c3b45139adce1189785200ad23b2ec867d2 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Mon, 6 Apr 2009 04:00:59 -0700 Subject: Fix an incorrect type-cast in libglusterfsclient.c Signed-off-by: Anand V. Avati --- libglusterfsclient/src/libglusterfsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit