From: Derrell Lipman Date: Wed, 16 Jul 2008 14:45:09 +0000 (-0400) Subject: The compatibility function also should have a const buffer pointer X-Git-Tag: samba-3.3.0pre1~548 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b731447ec539d454002300fd755dddcad2351d6c;p=thirdparty%2Fsamba.git The compatibility function also should have a const buffer pointer --- diff --git a/source/libsmb/libsmb_compat.c b/source/libsmb/libsmb_compat.c index 9ef5e51fa91..ad8fd922db2 100644 --- a/source/libsmb/libsmb_compat.c +++ b/source/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);