mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Fixing compiler warnings.
This commit is contained in:
parent
116ed370a2
commit
bd64e52782
2 changed files with 5 additions and 4 deletions
|
@ -376,7 +376,7 @@ void TCP_Reassembler::BlockInserted(DataBlock* start_block)
|
|||
TrimToSeq(last_reassem_seq);
|
||||
|
||||
else if ( e->NoDataAcked() && tcp_max_initial_window &&
|
||||
e->Size() > tcp_max_initial_window )
|
||||
e->Size() > static_cast<uint64>(tcp_max_initial_window) )
|
||||
// We've sent quite a bit of data, yet none of it has
|
||||
// been acked. Presume that we're not seeing the peer's
|
||||
// acks (perhaps due to filtering or split routing) and
|
||||
|
@ -465,7 +465,7 @@ int TCP_Reassembler::DataSent(double t, uint64 seq, int len,
|
|||
NewBlock(t, seq, len, data);
|
||||
|
||||
if ( Endpoint()->NoDataAcked() && tcp_max_above_hole_without_any_acks &&
|
||||
NumUndeliveredBytes() > tcp_max_above_hole_without_any_acks )
|
||||
NumUndeliveredBytes() > static_cast<uint64>(tcp_max_above_hole_without_any_acks) )
|
||||
{
|
||||
tcp_analyzer->Weird("above_hole_data_without_any_acks");
|
||||
ClearBlocks();
|
||||
|
@ -473,7 +473,7 @@ int TCP_Reassembler::DataSent(double t, uint64 seq, int len,
|
|||
}
|
||||
|
||||
if ( tcp_excessive_data_without_further_acks &&
|
||||
NumUndeliveredBytes() > tcp_excessive_data_without_further_acks )
|
||||
NumUndeliveredBytes() > static_cast<uint64>(tcp_excessive_data_without_further_acks) )
|
||||
{
|
||||
tcp_analyzer->Weird("excessive_data_without_further_acks");
|
||||
ClearBlocks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue