mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-06 22:29:15 -04:00
Fix static_cast warning.
This commit is contained in:
parent
86d2576d3e
commit
227719ff1d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ Optional<Reading> Packet::reading_ook_8k192_schrader() const {
|
||||||
reader_.read(3, 24),
|
reader_.read(3, 24),
|
||||||
Pressure { static_cast<int>(reader_.read(27, 8)) * 4 / 3 },
|
Pressure { static_cast<int>(reader_.read(27, 8)) * 4 / 3 },
|
||||||
{ },
|
{ },
|
||||||
Flags { (flags << 4) | checksum }
|
Flags { static_cast<Flags>((flags << 4) | checksum) }
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return { };
|
return { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue