mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-06 10:59:48 +08:00
_BM(x) produces 64-bit values which are implicitly converted to int in reloc_target_bitmask. For x = 32, this causes truncation from 4294967295 to -1 on 32-bit targets, triggering -Woverflow. Used uint32_t and cast the result to avoid implicit narrowing. Fixes #5557