From aedd687496de820831942b254e6c8c9b089e1dbe Mon Sep 17 00:00:00 2001 From: David Chalco Date: Mon, 22 Jun 2020 19:16:08 -0700 Subject: [PATCH] parantheses -- to not show assumptive precendence --- queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queue.c b/queue.c index 5d46fccf7..66971e65b 100644 --- a/queue.c +++ b/queue.c @@ -379,7 +379,7 @@ Queue_t * const pxQueue = xQueue; xQueueSizeInBytes = ( size_t ) ( uxQueueLength * uxItemSize ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ /* Check for multiplication overflow. */ - configASSERT( uxItemSize == 0 || uxQueueLength == xQueueSizeInBytes / uxItemSize ); + configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) ); /* Allocate the queue and storage area. Justification for MISRA deviation as follows: pvPortMalloc() always ensures returned memory