1
0
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:
Matias Fontanini
2015-04-25 18:54:43 -07:00
parent c108f6e4e6
commit 62260ab93b
4 changed files with 5 additions and 5 deletions

View File

@@ -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) {