summaryrefslogtreecommitdiff
path: root/storeio/io.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-17 00:32:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-17 00:43:09 +0100
commitf5fb7c713ea443469406a691e60a6f4567a4cb75 (patch)
treeb16d979915b5ad7e32ffe77ca5f5006dc639a16e /storeio/io.c
parentdd3048b2e483f66571cfa1b2ccebb2091b9ad990 (diff)
Fix const warnings
Now that the RPCs have const, this forces us cleaning our const-meant functions.
Diffstat (limited to 'storeio/io.c')
-rw-r--r--storeio/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storeio/io.c b/storeio/io.c
index 94bd559a..634185f7 100644
--- a/storeio/io.c
+++ b/storeio/io.c
@@ -134,7 +134,7 @@ trivfs_S_io_write (struct trivfs_protid *cred,
return EBADF;
else
return open_write ((struct open *)cred->po->hook,
- offs, (void *)data, data_len, amount);
+ offs, data, data_len, amount);
}
/* Change current read/write offset */