aboutsummaryrefslogtreecommitdiff
path: root/hw/rtc/sun4v-rtc.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-08-31 09:45:18 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-08-31 09:45:18 +0100
commit279695a4a4472c41d8764317e4fae04d93ee2b42 (patch)
tree7594d8e6853c69fb6149a5410dfa59a429a04b18 /hw/rtc/sun4v-rtc.c
parent7038b6e4e71d9fb3a234e00da31c222d3e97dd5c (diff)
hw/rtc/twl92230: Use int64_t for sec_offset and alm_sec
In the twl92230 device, use int64_t for the two state fields sec_offset and alm_sec, because we set these to values that are either time_t or differences between two time_t values. These fields aren't saved in vmstate anywhere, so we can safely widen them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/rtc/sun4v-rtc.c')
0 files changed, 0 insertions, 0 deletions