summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-28 03:14:37 +0100
committerVolker Lendecke <vl@samba.org>2012-02-29 01:32:54 +0100
commitadac8858817c1a153fecb3b02b59cbffc23ec1cb (patch)
tree9be32f0da0a9470ba7c351d7aa5e0d8ce218e96a /source3/smbd
parentc5c67cacd979c5ea6a9ca9acdac104212556ec62 (diff)
downloadsamba-adac8858817c1a153fecb3b02b59cbffc23ec1cb.tar.gz
samba-adac8858817c1a153fecb3b02b59cbffc23ec1cb.tar.bz2
samba-adac8858817c1a153fecb3b02b59cbffc23ec1cb.zip
s3: Fix a const warning
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index ba6314cda0..fc18f5e869 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1784,7 +1784,7 @@ static bool smb_splice_chain(uint8_t **poutbuf, const uint8_t *andx_buf)
uint8_t wct = CVAL(andx_buf, smb_wct);
const uint16_t *vwv = (const uint16_t *)(andx_buf + smb_vwv);
uint32_t num_bytes = smb_buflen(andx_buf);
- const uint8_t *bytes = (const uint8_t *)smb_buf(andx_buf);
+ const uint8_t *bytes = (const uint8_t *)smb_buf_const(andx_buf);
uint8_t *outbuf;
size_t old_size, new_size;