From 28f79290ed7e2a2cb269f4cd3509666f148ef06a Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 11 Aug 2019 08:21:44 +0200 Subject: [PATCH] fix compiler warning --- src/ebusd/bushandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ebusd/bushandler.cpp b/src/ebusd/bushandler.cpp index ddf51a85..0b0ac176 100755 --- a/src/ebusd/bushandler.cpp +++ b/src/ebusd/bushandler.cpp @@ -1558,8 +1558,8 @@ void BusHandler::formatGrabResult(bool unknown, bool decode, ostringstream* outp } bool first = true; for (const auto& it : m_grabbedMessages) { - if (since > 0 && it.second.getLastTime() < since - || until > 0 && it.second.getLastTime() >= until) { + if ((since > 0 && it.second.getLastTime() < since) + || (until > 0 && it.second.getLastTime() >= until)) { continue; } if (it.second.dump(unknown, m_messages, first, decode, output, isDirectMode)) {