Peter Maydell 7e7e5858f8 hw/arm/omap1: Avoid unintended sign extension writing omap_rtc YEARS_REG
When writing to the YEARS_REG register, if the year value is
99 then the multiplication by 31536000 will overflow into
the sign bit of a 32 bit value and then be erroneously
sign-extended if time_t is 64 bits. Add a cast to avoid this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
2014-05-13 16:09:39 +01:00
2014-04-23 10:28:14 +02:00
2014-05-13 13:16:37 +01:00
2014-04-25 12:59:57 +02:00
2014-04-28 13:43:17 +01:00
2014-04-28 08:55:31 +04:00
2014-05-09 09:11:31 -04:00
2014-04-25 09:19:58 -04:00
2014-05-02 20:42:02 -07:00
2014-04-30 14:39:58 +02:00
2014-05-13 10:35:47 +01:00
2014-04-28 08:55:31 +04:00
2014-03-12 17:26:32 +01:00
2014-05-07 17:16:03 +01:00
2014-02-21 21:02:23 +01:00
2014-03-13 14:34:16 +00:00
2014-02-25 14:30:28 +01:00
2014-04-18 10:33:36 +04:00
2014-04-22 12:00:20 +02:00
2014-04-22 12:00:20 +02:00
2014-04-28 13:43:17 +01:00
2014-05-09 22:59:40 +02:00
2014-02-17 11:57:23 -05:00
2014-04-17 20:39:32 +01:00
2014-05-09 20:57:32 +02:00
2014-05-07 16:16:43 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%