From 92bd6c5156eb0f41546eca4c1355234524e3b446 Mon Sep 17 00:00:00 2001 From: bradleysmith23 Date: Thu, 8 Feb 2024 13:40:39 -0800 Subject: [PATCH] Add parentheses back around pxList->uxNumberOfItems where removed. --- list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/list.c b/list.c index 64c883ca7..92c623c70 100644 --- a/list.c +++ b/list.c @@ -205,7 +205,7 @@ void vListInsert( List_t * const pxList, * item later. */ pxNewListItem->pxContainer = pxList; - pxList->uxNumberOfItems += 1U; + ( pxList->uxNumberOfItems ) += 1U; traceRETURN_vListInsert(); } @@ -237,7 +237,7 @@ UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) } pxItemToRemove->pxContainer = NULL; - pxList->uxNumberOfItems -= 1U; + ( pxList->uxNumberOfItems ) -= 1U; traceRETURN_uxListRemove( pxList->uxNumberOfItems );