Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
device_mmio: use explicit unsigned literals for addresses
Add an explicit unsigned literal suffix (U) for addresses obtained from devicetree, this is to work around a specific warning: zephyrproject/zephyr/include/zephyr/arch/arm/cortex_a_r/timer.h:40:2: warning: this decimal constant is unsigned only in ISO C90 When compling west build -p -b qemu_cortex_a9 -T tests/lib/cpp/cxx/cpp.main.cpp98 Argueably all devicetree addresses and sizes should be unsigned but this is enough to make CI pass, may look into changing the device.h macro as a followup. Signed-off-by: Fabio Baltieri <[email protected]>
- Loading branch information