I have some code being compiled by 2 toolchains: arm-none-eabi-gcc (aarch32) and aarch64-none-elf-gcc.
Both the toolchains treat uint32_t different:
aarch32 treats it as long unsigned int and expects %lx format specifier
aarch64 treats it as unsigned int and expects %x format specifier.
How do I change the format specifiers to make them portable and not throw bunch of format warnings for both?