summaryrefslogtreecommitdiffstats
path: root/xlators/storage/bdb/src/bdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage/bdb/src/bdb.c')
-rw-r--r--xlators/storage/bdb/src/bdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/bdb/src/bdb.c b/xlators/storage/bdb/src/bdb.c
index 9ae4b57c351..81ced573e7f 100644
--- a/xlators/storage/bdb/src/bdb.c
+++ b/xlators/storage/bdb/src/bdb.c
@@ -485,7 +485,7 @@ bdb_readv (call_frame_t *frame,
}
/* we are ready to go */
- op_ret = bdb_db_fread (bfd, (char **)&iobuf->ptr, size, offset);
+ op_ret = bdb_db_fread (bfd, iobuf->ptr, size, offset);
read_size = op_ret;
if (op_ret == -1) {
gf_log (this->name, GF_LOG_DEBUG,