1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

s3: Fix a const warning

This commit is contained in:
Volker Lendecke 2012-02-28 03:14:37 +01:00
parent c5c67cacd9
commit adac885881

View File

@ -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;