diff --git a/sched/misc/assert.c b/sched/misc/assert.c index 54c3be3f840..60cb14dc349 100644 --- a/sched/misc/assert.c +++ b/sched/misc/assert.c @@ -72,7 +72,7 @@ * Private Data ****************************************************************************/ -static uint8_t g_last_regs[XCPTCONTEXT_SIZE] aligned_data(16); +static uintptr_t g_last_regs[XCPTCONTEXT_REGS] aligned_data(16); #ifdef CONFIG_BOARD_COREDUMP static struct lib_syslogstream_s g_syslogstream;