Fixing compiler warnings.

This commit is contained in:
Robin Sommer 2014-04-24 18:14:18 -07:00
parent 116ed370a2
commit bd64e52782
2 changed files with 5 additions and 4 deletions

View file

@ -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;