You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix build warnings (see the build trace messages below) emitted when
building STM platforms b_u585i_iot02a, nucleo_l552ze_q, stm32h573i_dk
and stm32l562e_dk. All these are due to comparison between an unsigned
and a signed values.
.../trusted-firmware-m/platform/ext/target/stm/common/hal/Native_Driver/nv_counters.c:108:13: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare]
108 | if (ret != (sizeof(struct nv_counters_t) / data_width)) {
| ^~
.../trusted-firmware-m/platform/ext/target/stm/common/hal/Native_Driver/nv_counters.c:120:13: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare]
120 | if (ret != (sizeof(struct nv_counters_t) / data_width)) {
| ^~
.../trusted-firmware-m/platform/ext/target/stm/common/hal/Native_Driver/nv_counters.c:135:17: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare]
135 | if (ret != (sizeof(struct nv_counters_t) / data_width)) {
| ^~
Signed-off-by: Ahmad EL JOUAID <ahmad.eljouaid@st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Change-Id: Ief59f8ba9b91cec0185c2621ff314dfc9565dde5
(cherry picked from commit 93d4badf44bed0bcbfa1dc4944a232086f02fef8)
0 commit comments