Skip to content

Commit b8ae573

Browse files
tpamborcfriedt
authored andcommitted
tests: arch: arm: fix -Wformat error
Cast _vector_start to uint32_t to match format specifier. Signed-off-by: Tim Pambor <[email protected]>
1 parent a1369d5 commit b8ae573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/arch/arm/arm_sw_vector_relay/src/arm_sw_vector_relay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ ZTEST(arm_sw_vector_relay, test_arm_sw_vector_relay)
6969
*/
7070
zassert_true(_vector_table_pointer == (uint32_t)_vector_start,
7171
"vector table pointer not pointing to vector start, 0x%x, 0x%x\n",
72-
_vector_table_pointer, _vector_start);
72+
_vector_table_pointer, (uint32_t)_vector_start);
7373
#endif
7474
}

0 commit comments

Comments
 (0)