Skip to content

Commit 7abb586

Browse files
authored
Merge pull request ceph#62975 from tchaikov/libcephfs_proxy-silence-warning
libcephfs_proxy: remove arithmetic on void* Reviewed-by: Adam C. Emerson <[email protected]> Reviewed-by: Xavi Hernandez <[email protected]>
2 parents 5bd213b + 8af8f70 commit 7abb586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcephfs_proxy/proxy_async.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static int32_t libcephfsd_cbk_nonblocking_rw(proxy_async_t *async,
4040
}
4141

4242
memcpy(iov->iov_base, data, iov->iov_len);
43-
data += iov->iov_len;
43+
data = (char*)data + iov->iov_len;
4444
size -= iov->iov_len;
4545
iov++;
4646
count--;

0 commit comments

Comments
 (0)