diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:20 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:05 +1100 |
commit | 2a031ec751a858e9b0dba754b502c0bc47876ef2 (patch) | |
tree | 7dd8e3a92fcc1b9e81eac0a76255605656044fbe /hw/m68k/next-cube.c | |
parent | aa4941bbaa8ff6aa2496713d32b88176f30890b1 (diff) | |
download | qemu-2a031ec751a858e9b0dba754b502c0bc47876ef2.zip qemu-2a031ec751a858e9b0dba754b502c0bc47876ef2.tar.gz qemu-2a031ec751a858e9b0dba754b502c0bc47876ef2.tar.bz2 |
hw/m68k: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-40-richard.henderson@linaro.org>
Diffstat (limited to 'hw/m68k/next-cube.c')
-rw-r--r-- | hw/m68k/next-cube.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c index 292f13d..9f6f90d 100644 --- a/hw/m68k/next-cube.c +++ b/hw/m68k/next-cube.c @@ -923,7 +923,7 @@ static const VMStateDescription next_rtc_vmstate = { .name = "next-rtc", .version_id = 2, .minimum_version_id = 2, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_INT8(phase, NextRtc), VMSTATE_UINT8_ARRAY(ram, NextRtc, 32), VMSTATE_UINT8(command, NextRtc), @@ -939,7 +939,7 @@ static const VMStateDescription next_pc_vmstate = { .name = "next-pc", .version_id = 2, .minimum_version_id = 2, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(scr1, NeXTPC), VMSTATE_UINT32(scr2, NeXTPC), VMSTATE_UINT32(old_scr2, NeXTPC), |