From 272b51ba236d6636bda3ee961cba35eb489d30af Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 7 Mar 2015 11:07:31 +0000 Subject: MISRAs done for RT. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7727 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/src/chqueues.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/rt/src/chqueues.c') diff --git a/os/rt/src/chqueues.c b/os/rt/src/chqueues.c index 33f0df32c..49bf49f24 100644 --- a/os/rt/src/chqueues.c +++ b/os/rt/src/chqueues.c @@ -231,7 +231,7 @@ size_t chIQReadTimeout(input_queue_t *iqp, uint8_t *bp, qnotify_t nfy = iqp->q_notify; size_t r = 0; - chDbgCheck(n > 0); + chDbgCheck(n > 0U); chSysLock(); while (true) { @@ -429,7 +429,7 @@ size_t chOQWriteTimeout(output_queue_t *oqp, const uint8_t *bp, qnotify_t nfy = oqp->q_notify; size_t w = 0; - chDbgCheck(n > 0); + chDbgCheck(n > 0U); chSysLock(); while (true) { -- cgit v1.2.3