From cd90c85bab1fbe8e731a5a694aba708e4396c2f2 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Wed, 16 Jul 2008 10:45:09 -0400 Subject: [PATCH] The compatibility function also should have a const buffer pointer (This used to be commit b731447ec539d454002300fd755dddcad2351d6c) --- source3/libsmb/libsmb_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/libsmb_compat.c b/source3/libsmb/libsmb_compat.c index 9ef5e51fa91..ad8fd922db2 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); -- 2.11.4.GIT