diff options
author | Volker Lendecke <vl@samba.org> | 2012-02-28 03:14:37 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-02-29 01:32:54 +0100 |
commit | adac8858817c1a153fecb3b02b59cbffc23ec1cb (patch) | |
tree | 9be32f0da0a9470ba7c351d7aa5e0d8ce218e96a | |
parent | c5c67cacd979c5ea6a9ca9acdac104212556ec62 (diff) | |
download | samba-adac8858817c1a153fecb3b02b59cbffc23ec1cb.tar.gz samba-adac8858817c1a153fecb3b02b59cbffc23ec1cb.tar.bz2 samba-adac8858817c1a153fecb3b02b59cbffc23ec1cb.zip |
s3: Fix a const warning
-rw-r--r-- | source3/smbd/process.c | 2 |
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; |