summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-07-16 10:45:09 -0400
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-07-16 10:45:09 -0400
commitcd90c85bab1fbe8e731a5a694aba708e4396c2f2 (patch)
tree9e12a5b977cc7b269c11610b4a64388703c26d76 /source3
parent43892abff68054928312fd54e50d5bdebe604b63 (diff)
downloadsamba-cd90c85bab1fbe8e731a5a694aba708e4396c2f2.tar.gz
samba-cd90c85bab1fbe8e731a5a694aba708e4396c2f2.tar.bz2
samba-cd90c85bab1fbe8e731a5a694aba708e4396c2f2.zip
The compatibility function also should have a const buffer pointer
(This used to be commit b731447ec539d454002300fd755dddcad2351d6c)
Diffstat (limited to 'source3')
-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);