Skip to content

Conversation

@tpambor
Copy link
Contributor

@tpambor tpambor commented Oct 4, 2025

Cast _vector_start to uint32_t to match format specifier.

/home/user/west_workspace/zephyr/tests/arch/arm/arm_sw_vector_relay/src/arm_sw_vector_relay.c: In function 'arm_sw_vector_relay_test_arm_sw_vector_relay':
/home/user/west_workspace/zephyr/tests/arch/arm/arm_sw_vector_relay/src/arm_sw_vector_relay.c:71:22: error: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'char *' [-Werror=format=]
   71 |                      "vector table pointer not pointing to vector start, 0x%x, 0x%x\n",
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                      _vector_table_pointer, _vector_start);
      |                                             ~~~~~~~~~~~~~
      |                                             |
      |                                             char *

Part of #96968

Cast _vector_start to uint32_t to match format specifier.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
@zephyrbot zephyrbot added area: Tests Issues related to a particular existing or missing test area: ARM ARM (32-bit) Architecture size: XS A PR changing only a single line of code labels Oct 4, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 4, 2025

@cfriedt cfriedt merged commit b8ae573 into zephyrproject-rtos:main Oct 9, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ARM ARM (32-bit) Architecture area: Tests Issues related to a particular existing or missing test size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants