aboutsummaryrefslogtreecommitdiff
path: root/replay
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:49 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commit440b2174d2b934a5c048b885236a03f4381b9313 (patch)
tree7cfd1d1475b8fce3eef6f1fbed2ab99e8876bac1 /replay
parent72ecb4a96be30f9d14a5f52938903ecfec331e5d (diff)
replay: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-69-richard.henderson@linaro.org>
Diffstat (limited to 'replay')
-rw-r--r--replay/replay-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/replay/replay-snapshot.c b/replay/replay-snapshot.c
index 10a7cf7992..e5e39161e3 100644
--- a/replay/replay-snapshot.c
+++ b/replay/replay-snapshot.c
@@ -51,7 +51,7 @@ static const VMStateDescription vmstate_replay = {
.minimum_version_id = 2,
.pre_save = replay_pre_save,
.post_load = replay_post_load,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_INT64_ARRAY(cached_clock, ReplayState, REPLAY_CLOCK_COUNT),
VMSTATE_UINT64(current_icount, ReplayState),
VMSTATE_INT32(instruction_count, ReplayState),