From fbcb70d7391b35359be007d2013282227b720752 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 11 Oct 2015 09:35:53 +0000 Subject: Fixed bug #646. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8357 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/include/chvt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index 93c665f63..d44d0b91b 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -285,7 +285,7 @@ static inline bool chVTIsTimeWithinX(systime_t time, systime_t start, systime_t end) { - return (bool)((time - start) < (end - start)); + return (bool)((systime_t)(time - start) < (systime_t)(end - start)); } /** -- cgit v1.2.3