mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
7717f248ee
In C99 signed shift (1 << 31) is undefined behavior, since the result exceeds INT_MAX. Use 1U instead and move the shift after the check. Signed-off-by: Xi Wang <xi.wang@gmail.com> Acked-by: Jia Liu <proljc@gmail.com> |
||
---|---|---|
.. | ||
cputimer.c | ||
Makefile.objs | ||
openrisc_sim.c | ||
pic_cpu.c |