From 63e16701b9adb506e14a9362ba704db82c47e523 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 9 Apr 2023 19:57:44 -0400 Subject: [PATCH] explicitly compare as unsigned value --- platform/qt/dmxwidget/dmxwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/qt/dmxwidget/dmxwidget.cpp b/platform/qt/dmxwidget/dmxwidget.cpp index 48b87ea..96ffc24 100644 --- a/platform/qt/dmxwidget/dmxwidget.cpp +++ b/platform/qt/dmxwidget/dmxwidget.cpp @@ -75,7 +75,7 @@ void DmxWidget::parseMessageBuffer() else if (offset > 0) message_rx_buffer_.remove(0, offset); // delimiter now at start of buffer return (message_rx_buffer_.size() >= fixed_length - && message_rx_buffer_[0] == ENTTEC::Pro::START_DELIMITER); + && (uint8_t)message_rx_buffer_[0] == ENTTEC::Pro::START_DELIMITER); }; while(fast_forward())