summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
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 484832b200..5ef0fd335e 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2133,7 +2133,7 @@ bool smb1_walk_chain(const uint8_t *buf,
wct = CVAL(buf, smb_wct);
vwv = (const uint16_t *)(buf + smb_vwv);
num_bytes = smb_buflen(buf);
- bytes = (uint8_t *)smb_buf_const(buf);
+ bytes = (const uint8_t *)smb_buf_const(buf);
if (!fn(cmd, wct, vwv, num_bytes, bytes, private_data)) {
return false;