From 62089f9d9a9fba83d6ba1d097203cae0188670d9 Mon Sep 17 00:00:00 2001 From: LoudSnorer Date: Mon, 2 May 2022 21:09:16 -0400 Subject: [PATCH] fix clang compile issues --- oscar/Graphs/gLineChart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oscar/Graphs/gLineChart.cpp b/oscar/Graphs/gLineChart.cpp index 2077bdb3..be4bfd6e 100644 --- a/oscar/Graphs/gLineChart.cpp +++ b/oscar/Graphs/gLineChart.cpp @@ -401,8 +401,8 @@ void gLineChart::paint(QPainter &painter, gGraph &w, const QRegion ®ion) return; } - actual_min_y = INT_MAX; - actual_max_y = -INT_MAX; + actual_min_y = (EventDataType)INT_MAX; + actual_max_y = -(EventDataType)INT_MAX; top++;