]> begriffs open source - freertos/commit
Use UBaseType_t for ullMachineTimerCompareRegisterBase (#1258)
authorGaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Mon, 17 Mar 2025 11:11:11 +0000 (16:41 +0530)
committerGitHub <noreply@github.com>
Mon, 17 Mar 2025 11:11:11 +0000 (16:41 +0530)
commitdacce186cfa4badc412b70f47f9b7c41acf7d89d
tree9cc92b68a2671639846af3a1cc3c517ccac9ddc1
parent64fd9291ef668d0f3695771f0ce596d5e6c75802
Use UBaseType_t for ullMachineTimerCompareRegisterBase (#1258)

Use architecture-dependent UBaseType_t instead of fixed type for
ullMachineTimerCompareRegisterBase. This type is defined to uint32_t or
uint64_t based on XLEN, resolving warnings on 32-bit platforms.

Reported by landretk@ on the PR FreeRTOS/FreeRTOS-Kernel#1176.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
portable/GCC/RISC-V/port.c
portable/IAR/RISC-V/port.c