mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Fix compiler warnings
These changes eliminate 405 of 571 warnings seen on OS X 10.7.4 with clang.
This commit is contained in:
parent
c0bbd78ee1
commit
7f4b0b52f8
11 changed files with 15 additions and 15 deletions
|
@ -368,7 +368,7 @@ int SMB_Session::ParseSetupAndx(int is_orig, binpac::SMB::SMB_header const& hdr,
|
|||
// The binpac type depends on the negotiated server settings -
|
||||
// possibly we can just pick the "right" format here, and use that?
|
||||
|
||||
if ( hdr.flags2() && 0x0800 )
|
||||
if ( hdr.flags2() & 0x0800 )
|
||||
{
|
||||
binpac::SMB::SMB_setup_andx_ext msg(hdr.unicode());
|
||||
msg.Parse(body.data(), body.data() + body.length());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue