Silenced a const qualifier dropping (cosmetic)

This commit is contained in:
Jean-Pierre André 2014-09-02 10:03:23 +02:00
parent a7aa91d73d
commit e1d2b7faa7

View File

@ -185,7 +185,8 @@ static int send_reply(fuse_req_t req, int error, const void *arg,
struct iovec iov[2];
int count = 1;
if (argsize) {
iov[1].iov_base = (void *) arg;
/* Note : const qualifier dropped */
iov[1].iov_base = (void *)(uintptr_t) arg;
iov[1].iov_len = argsize;
count++;
}