diff options
Diffstat (limited to 'os/nil/src')
-rw-r--r-- | os/nil/src/nil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c index 789256127..d7afe3b87 100644 --- a/os/nil/src/nil.c +++ b/os/nil/src/nil.c @@ -197,7 +197,7 @@ void chSysTimerHandlerI(void) { chSchReadyI(tp, MSG_TIMEOUT);
}
else {
- if (tp->timeout <= next - 1)
+ if (tp->timeout <= (systime_t)(next - 1))
next = tp->timeout;
}
}
|