From 617ecaba91f0b41f35c66a7306097f1a59011ff2 Mon Sep 17 00:00:00 2001 From: incredibleLeitman Date: Mon, 30 Nov 2020 16:06:16 +0100 Subject: [PATCH] fixed signed int for possible negative values --- Display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Display.h b/Display.h index 9e06985..abd2cfb 100644 --- a/Display.h +++ b/Display.h @@ -41,7 +41,7 @@ private: //std::list m_lines; //Line *m_curLine = nullptr; // get any value if the underlying vector gets resized and moved in memory Line m_curLine; // -> either make a copy - size_t m_curLineIdx = -1; // or just use index + int m_curLineIdx = -1; // or just use index unsigned int m_step = 0; void update();