Jia Liu 7717f248ee hw/openrisc: Avoid undefined shift in openrisc_pic_cpu_handler()
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>
2013-08-21 09:31:42 +08:00
..
2013-08-19 15:52:19 +02:00
2013-08-13 09:02:52 -05:00
2013-07-29 21:07:02 +02:00
2013-07-31 23:25:41 +02:00
2013-08-12 11:20:57 -05:00
2013-07-29 19:56:46 -05:00
2013-07-29 19:56:46 -05:00
2013-08-08 13:29:25 +02:00
2013-08-12 08:32:55 -05:00