From 007e4182116067841871fe166414ad1c9adf8ae0 Mon Sep 17 00:00:00 2001 From: ga Date: Tue, 3 May 2022 09:19:48 +0100 Subject: [PATCH] Fix error in PR #482 that breaks build when tracing is enabled. --- simavr/sim/sim_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simavr/sim/sim_core.h b/simavr/sim/sim_core.h index 992c068..874651e 100644 --- a/simavr/sim/sim_core.h +++ b/simavr/sim/sim_core.h @@ -53,7 +53,7 @@ int _avr_push_addr(avr_t * avr, avr_flashaddr_t addr); /* * Get a "pretty" register name */ -const char * avr_regname(uint8_t reg); +const char * avr_regname(unsigned int reg); /* * DEBUG bits follow -- 2.39.5