armv8-m/arm_ramvec_initialize.c: fix printf warning

This commit is contained in:
raiden00pl 2023-03-03 20:53:44 +01:00 committed by Xiang Xiao
parent 342fb22c3f
commit 84d8b821e0
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ void arm_ramvec_initialize(void)
* the table alignment is insufficient.
*/
irqinfo("NVIC_VECTAB=%08x\n", getreg32(NVIC_VECTAB));
irqinfo("NVIC_VECTAB=%08" PRIx32 "\n", getreg32(NVIC_VECTAB));
DEBUGASSERT(getreg32(NVIC_VECTAB) == (uint32_t)g_ram_vectors);
}