mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed build error
This commit is contained in:
parent
404b9f3add
commit
0ea566bacd
@ -150,7 +150,7 @@ bool cScroller::Overflow(void) {
|
||||
secondDelay = false;
|
||||
return true;
|
||||
}
|
||||
if (abs(drawPortX) < scrollLength)
|
||||
if (abs((int)drawPortX) < scrollLength)
|
||||
return false;
|
||||
if (carriageReturn) {
|
||||
drawPortX = 0;
|
||||
@ -168,7 +168,7 @@ bool cScroller::Overflow(void) {
|
||||
secondDelay = false;
|
||||
return true;
|
||||
}
|
||||
if (abs(drawPortY) < scrollLength)
|
||||
if (abs((int)drawPortY) < scrollLength)
|
||||
return false;
|
||||
secondDelay = true;
|
||||
drawPortY = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user