diff --git a/arch/arm/src/armv8-m/arm_ramvec_initialize.c b/arch/arm/src/armv8-m/arm_ramvec_initialize.c index dbf5b8ee59..7929de1c79 100644 --- a/arch/arm/src/armv8-m/arm_ramvec_initialize.c +++ b/arch/arm/src/armv8-m/arm_ramvec_initialize.c @@ -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); }