mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Fix a few warnings from recent changes
This commit is contained in:
parent
f3f139deab
commit
eb9d851a07
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ bool LLCAnalyzer::AnalyzePacket(size_t len, const uint8_t* data, Packet* packet)
|
|||
// If the control field doesn't have an unnumbered PDU, the header is actually 4
|
||||
// bytes long. Whether this is unnumbered is denoted by the last two bits being
|
||||
// set.
|
||||
int llc_header_len = 3;
|
||||
size_t llc_header_len = 3;
|
||||
if ( (data[2] & 0x03) != 0x03 )
|
||||
llc_header_len++;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ bool SNAPAnalyzer::AnalyzePacket(size_t len, const uint8_t* data, Packet* packet
|
|||
// If the control field doesn't have an unnumbered PDU, the header is actually 4
|
||||
// bytes long. Whether this is unnumbered is denoted by the last two bits being
|
||||
// set.
|
||||
int llc_header_len = 3;
|
||||
size_t llc_header_len = 3;
|
||||
if ( (data[2] & 0x03) != 0x03 )
|
||||
llc_header_len++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue