diff options
author | Volker Lendecke <vl@samba.org> | 2013-06-11 20:37:11 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-06-11 13:21:08 -0700 |
commit | 1b740e5033d4adf4e3412bc2be7d9d4ff77ae271 (patch) | |
tree | ba3baf943ac040b958b495e5aa8e5cb42e6fe305 /source3/smbd | |
parent | fc5e584536ad0c695b414698351e171dfae85fc6 (diff) | |
download | samba-1b740e5033d4adf4e3412bc2be7d9d4ff77ae271.tar.gz samba-1b740e5033d4adf4e3412bc2be7d9d4ff77ae271.tar.bz2 samba-1b740e5033d4adf4e3412bc2be7d9d4ff77ae271.zip |
smbd: Fix a const warning
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-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 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; |