From: ga Date: Tue, 3 May 2022 08:19:48 +0000 (+0100) Subject: Fix error in PR #482 that breaks build when tracing is enabled. X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=007e4182116067841871fe166414ad1c9adf8ae0;p=sx%2Fsimavr.git Fix error in PR #482 that breaks build when tracing is enabled. --- 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