mirror of
https://github.com/mfontanini/libtins
synced 2026-01-25 11:41:35 +01:00
Fix compilation warnings on Windows.
This commit is contained in:
@@ -87,7 +87,7 @@ uint16_t IPv4Stream::extract_offset(const IP *ip) {
|
||||
}
|
||||
|
||||
bool IPv4Stream::extract_more_frag(const IP *ip) {
|
||||
return ip->frag_off() & 0x2000;
|
||||
return (ip->frag_off() & 0x2000) != 0;
|
||||
}
|
||||
} // namespace Internals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user