mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 04:11:35 +01:00
Fix more compilation warnings on Windows.
This commit is contained in:
@@ -147,7 +147,7 @@ void TCP::sack_permitted() {
|
||||
}
|
||||
|
||||
bool TCP::has_sack_permitted() const {
|
||||
return static_cast<bool>(search_option(SACK_OK));
|
||||
return search_option(SACK_OK) != NULL;
|
||||
}
|
||||
|
||||
void TCP::sack(const sack_type &edges) {
|
||||
|
||||
Reference in New Issue
Block a user