git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5c67ca
)
s3: Fix a const warning
author
Volker Lendecke
<vl@samba.org>
Tue, 28 Feb 2012 02:14:37 +0000
(
03:14
+0100)
committer
Volker Lendecke
<vl@samba.org>
Wed, 29 Feb 2012 00:32:54 +0000
(
01:32
+0100)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index ba6314cda0921ab9f1ddbcbe8a66b29cc0e5bde5..fc18f5e8693a5bec631d1c95445ed85e4857d0b8 100644
(file)
--- 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;