You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/05/04 08:03:12 UTC
[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9184: sig_timewait:remove useless assert
pkarashchenko commented on code in PR #9184:
URL: https://github.com/apache/nuttx/pull/9184#discussion_r1184675404
##########
sched/signal/sig_timedwait.c:
##########
@@ -328,7 +328,6 @@ int nxsig_timedwait(FAR const sigset_t *set, FAR struct siginfo *info,
waitticks = ((uint64_t)timeout->tv_sec * NSEC_PER_SEC +
(uint64_t)timeout->tv_nsec + NSEC_PER_TICK - 1) /
NSEC_PER_TICK;
- DEBUGASSERT(waitticks <= UINT32_MAX);
Review Comment:
Let's unify the type of waitticks as well
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org