diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-02-27 02:50:48 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-02-27 02:50:48 +0530 |
commit | 596b48e14e5797deca35915edb047471d7c15a00 (patch) | |
tree | a4c6f3848f658eaad7055a9476e55fe5c951cacd /xlators/cluster/afr | |
parent | 0601a2d6631983cbce39982dfcbecae23a4fa629 (diff) |
fixing warnings in previous patch (typecasting pointer to long)
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r-- | xlators/cluster/afr/src/afr-transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c index 1c2931240d5..6a1f228a6c0 100644 --- a/xlators/cluster/afr/src/afr-transaction.c +++ b/xlators/cluster/afr/src/afr-transaction.c @@ -887,7 +887,7 @@ int afr_lock_rec (call_frame_t *frame, xlator_t *this, int child_index) int32_t afr_lock (call_frame_t *frame, xlator_t *this) { - frame->root->pid = frame->root; + frame->root->pid = (long) frame->root; return afr_lock_rec (frame, this, 0); } |