From bed82663277e48b6a24f730ae9bd7d1d5c792371 Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Sun, 27 Dec 2020 00:58:10 +0100 Subject: [PATCH] Fix compilation cast warning --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 15c3546..7f30d46 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1906,7 +1906,7 @@ void PrintFormat(const char* format, ...) vsnprintf(tempBuffer, tempBufferSize, format, args); va_end(args); - if (y_pos + 96 >= screenHeight) { + if (y_pos + 96 >= static_cast(screenHeight)) { screen.ScrollUp(8); y_pos -= 16; }