mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fixing compiler warnings.
This commit is contained in:
parent
116ed370a2
commit
bd64e52782
2 changed files with 5 additions and 4 deletions
|
@ -135,7 +135,8 @@ public:
|
|||
int NoDataAcked() const
|
||||
{
|
||||
uint64 ack = ToFullSeqSpace(ack_seq, ack_wraps);
|
||||
return ack == StartSeqI64() || ack == StartSeqI64() + 1;
|
||||
uint64 start = static_cast<uint64>(StartSeqI64());
|
||||
return ack == start || ack == start + 1;
|
||||
}
|
||||
|
||||
Connection* Conn() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue