From 4a0f5a7f5944ef734bbf685c4d92ddd672938d82 Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Sun, 22 Jan 2023 15:24:21 -0800 Subject: [PATCH] Fixed signed issue with waterfall data. --- wfmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wfmain.cpp b/wfmain.cpp index 49ea802..2cfef14 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -4669,7 +4669,7 @@ void wfmain::receiveSpectrumData(QByteArray spectrum, double startFreq, double e wfRow = wfimage.at(row); for(int col = 0; col < spectWidth; col++) { - colorMap->data()->setCell( col, row, wfRow.at(col)); + colorMap->data()->setCell( col, row, (unsigned char)wfRow.at(col)); } } if(updateRange)