summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/modules/vfs_commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c
index 6cf1c1a35d..ccf733d09b 100644
--- a/source3/modules/vfs_commit.c
+++ b/source3/modules/vfs_commit.c
@@ -231,7 +231,7 @@ static int commit_open(
static ssize_t commit_write(
vfs_handle_struct * handle,
files_struct * fsp,
- void * data,
+ const void * data,
size_t count)
{
ssize_t ret;
@@ -249,7 +249,7 @@ static ssize_t commit_write(
static ssize_t commit_pwrite(
vfs_handle_struct * handle,
files_struct * fsp,
- void * data,
+ const void * data,
size_t count,
SMB_OFF_T offset)
{