Silence some warnings

This commit is contained in:
Megamouse 2021-09-02 19:00:30 +02:00
parent 06f733a7f2
commit 0debcfed0a
12 changed files with 31 additions and 31 deletions

View file

@ -50,7 +50,7 @@ bool serialize<rsx::frame_capture_data>(utils::serial& ar, rsx::frame_capture_da
{
ar(o.magic, o.version, o.LE_format);
if (o.magic != rsx::c_fc_magic || o.version != rsx::c_fc_version || o.LE_format != (std::endian::little == std::endian::native))
if (o.magic != rsx::c_fc_magic || o.version != rsx::c_fc_version || o.LE_format != u32{std::endian::little == std::endian::native})
{
return false;
}