Fix compilation cast warning
This commit is contained in:
parent
f9f282a595
commit
bed8266327
1 changed files with 1 additions and 1 deletions
|
@ -1906,7 +1906,7 @@ void PrintFormat(const char* format, ...)
|
||||||
vsnprintf(tempBuffer, tempBufferSize, format, args);
|
vsnprintf(tempBuffer, tempBufferSize, format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
|
||||||
if (y_pos + 96 >= screenHeight) {
|
if (y_pos + 96 >= static_cast<int>(screenHeight)) {
|
||||||
screen.ScrollUp(8);
|
screen.ScrollUp(8);
|
||||||
y_pos -= 16;
|
y_pos -= 16;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue