Fix compilation cast warning

This commit is contained in:
Sijmen 2020-12-27 00:58:10 +01:00
parent f9f282a595
commit bed8266327
Signed by: vijfhoek
GPG key ID: DAF7821E067D9C48

View file

@ -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<int>(screenHeight)) {
screen.ScrollUp(8);
y_pos -= 16;
}