commit | ac8999dc8d568464a4e710e1c7aded64b735a117 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Fri Nov 25 14:34:52 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Dec 07 14:18:31 2022 +0100 |
tree | 09c55c54008887e5f074f4fe06be96c23e74c9ee | |
parent | 8e59db2e61d5bae26c05131a0df745e750fcee10 [diff] |
fix(st-clock): avoid arithmetics on pointers This corrects MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I9128f567a7c83d8e3381428b07e6bd785be2703b