Skip to content
Commit 8406db14 authored by Yann Gautier's avatar Yann Gautier
Browse files

fix: add parenthesis for tests in MIN, MAX and CLAMP macros



This corrects the MISRA violation C2012-12.1:
The precedence of operators within expressions should be made explicit

Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
Change-Id: I62083c43b3f633504cac3497efe2e984924c63b2
parent 825641d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment