mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 07:10:43 -04:00
Fixed warning: comparison of integer expressions of different signedness
This commit is contained in:
parent
a81d630d93
commit
4b87a8a7dd
2 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ bool Packet::crc_ok() const {
|
|||
ais_fcs.process_byte(field_crc.read(i, 8));
|
||||
}
|
||||
|
||||
return (ais_fcs.checksum() == field_crc.read(data_length(), fcs_length));
|
||||
return (ais_fcs.checksum() == (unsigned)field_crc.read(data_length(), fcs_length));
|
||||
}
|
||||
|
||||
size_t Packet::data_and_fcs_length() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue