From 84d8b821e0904fdf36453115582b0eb39dfd2f9f Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Fri, 3 Mar 2023 20:53:44 +0100 Subject: [PATCH] armv8-m/arm_ramvec_initialize.c: fix printf warning --- arch/arm/src/armv8-m/arm_ramvec_initialize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }