summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/libsmb_compat.c')
-rw-r--r--source3/libsmb/libsmb_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_compat.c b/source3/libsmb/libsmb_compat.c
index 9ef5e51fa9..ad8fd922db 100644
--- a/source3/libsmb/libsmb_compat.c
+++ b/source3/libsmb/libsmb_compat.c
@@ -207,7 +207,7 @@ smbc_read(int fd,
ssize_t
smbc_write(int fd,
- void *buf,
+ const void *buf,
size_t bufsize)
{
SMBCFILE * file = find_fd(fd);