From 227719ff1de77635ab5fa34516fbd96f0c264f11 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Mon, 28 Nov 2016 12:05:24 -0800 Subject: [PATCH] Fix static_cast warning. --- firmware/common/tpms_packet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/tpms_packet.cpp b/firmware/common/tpms_packet.cpp index 0bc3064b..8cca23f2 100644 --- a/firmware/common/tpms_packet.cpp +++ b/firmware/common/tpms_packet.cpp @@ -88,7 +88,7 @@ Optional Packet::reading_ook_8k192_schrader() const { reader_.read(3, 24), Pressure { static_cast(reader_.read(27, 8)) * 4 / 3 }, { }, - Flags { (flags << 4) | checksum } + Flags { static_cast((flags << 4) | checksum) } }; } else { return { };