fixed build error

This commit is contained in:
louis 2016-07-23 17:42:10 +02:00
parent 404b9f3add
commit 0ea566bacd

View File

@ -150,7 +150,7 @@ bool cScroller::Overflow(void) {
secondDelay = false; secondDelay = false;
return true; return true;
} }
if (abs(drawPortX) < scrollLength) if (abs((int)drawPortX) < scrollLength)
return false; return false;
if (carriageReturn) { if (carriageReturn) {
drawPortX = 0; drawPortX = 0;
@ -168,7 +168,7 @@ bool cScroller::Overflow(void) {
secondDelay = false; secondDelay = false;
return true; return true;
} }
if (abs(drawPortY) < scrollLength) if (abs((int)drawPortY) < scrollLength)
return false; return false;
secondDelay = true; secondDelay = true;
drawPortY = 0; drawPortY = 0;