summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_file.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 10:41:59 -0700
committerJeremy Allison <jra@samba.org>2011-05-05 10:41:59 -0700
commit4f41be356a4e6b311d30de3b2e36e4c33aa72ca3 (patch)
tree91adb9035c762c36a6cb24f242c11408779bd3f7 /source3/libsmb/libsmb_file.c
parent10a628b6e181af07f0c43db36ba017411b4eaaaa (diff)
downloadsamba-4f41be356a4e6b311d30de3b2e36e4c33aa72ca3.tar.gz
Fix many const compiler warnings.
Diffstat (limited to 'source3/libsmb/libsmb_file.c')
-rw-r--r--source3/libsmb/libsmb_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c
index 4ab6cd22e53..e21eff30295 100644
--- a/source3/libsmb/libsmb_file.c
+++ b/source3/libsmb/libsmb_file.c
@@ -378,7 +378,7 @@ SMBC_write_ctx(SMBCCTX *context,
/*d_printf(">>>write: resolved path as %s\n", targetpath);*/
status = cli_writeall(targetcli, file->cli_fd,
- 0, (uint8_t *)buf, offset, count, NULL);
+ 0, (const uint8_t *)buf, offset, count, NULL);
if (!NT_STATUS_IS_OK(status)) {
errno = map_errno_from_nt_status(status);
TALLOC_FREE(frame);