diff --git a/hw/rtc/twl92230.c b/hw/rtc/twl92230.c index d8534dad9496b5ec044d68a1a4bf933c2add3ccd..64c61c3daebc82429e3b57465f6b4dd4e5cbcf10 100644 --- a/hw/rtc/twl92230.c +++ b/hw/rtc/twl92230.c @@ -65,8 +65,8 @@ struct MenelausState { struct tm tm; struct tm new; struct tm alm; - int sec_offset; - int alm_sec; + int64_t sec_offset; + int64_t alm_sec; int next_comp; } rtc; uint16_t rtc_next_vmstate;