From 0ea566bacd2fa025a0eb82888e06997aa563153b Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 23 Jul 2016 17:42:10 +0200 Subject: [PATCH] fixed build error --- coreengine/animation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coreengine/animation.c b/coreengine/animation.c index f21a604..8f7159f 100644 --- a/coreengine/animation.c +++ b/coreengine/animation.c @@ -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;