diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-09-03 02:05:52 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-03 01:04:17 -0700 |
commit | 9459b3aeeb2f99f2f7f3a580e6e19d99db1c0678 (patch) | |
tree | 794dad4a711cf4df1e9e39627642ffdffc293e3f | |
parent | a5aae54b1082a0a2c59d0e6e3e64b349d0bd6f17 (diff) |
cluster/replicate: fix warnings during build.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 960 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=960
-rw-r--r-- | xlators/cluster/afr/src/afr-lk-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-lk-common.c b/xlators/cluster/afr/src/afr-lk-common.c index a7cd60f30..50f253e8c 100644 --- a/xlators/cluster/afr/src/afr-lk-common.c +++ b/xlators/cluster/afr/src/afr-lk-common.c @@ -62,8 +62,8 @@ afr_set_lk_owner (call_frame_t *frame, xlator_t *this) if (!frame->root->lk_owner) { gf_log (this->name, GF_LOG_TRACE, "Setting lk-owner=%llu", - (unsigned long long) frame->root); - frame->root->lk_owner = (uint64_t) frame->root; + (unsigned long long) (unsigned long)frame->root); + frame->root->lk_owner = (uint64_t) (unsigned long)frame->root; } } |