diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:12 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | 9231a01788af7c3d1156186ee9f073cf9804c8a7 (patch) | |
tree | a45f811c3d35a4673cbc7dfcc873dc82a1cb9588 /hw/i386/vmmouse.c | |
parent | 01d9442a889f545a41151066f6a577822166d21e (diff) |
hw/i386: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20231221031652.119827-32-richard.henderson@linaro.org>
Diffstat (limited to 'hw/i386/vmmouse.c')
-rw-r--r-- | hw/i386/vmmouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/vmmouse.c b/hw/i386/vmmouse.c index 91320afa2f..a8d014d09a 100644 --- a/hw/i386/vmmouse.c +++ b/hw/i386/vmmouse.c @@ -277,7 +277,7 @@ static const VMStateDescription vmstate_vmmouse = { .version_id = 0, .minimum_version_id = 0, .post_load = vmmouse_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_INT32_EQUAL(queue_size, VMMouseState, NULL), VMSTATE_UINT32_ARRAY(queue, VMMouseState, VMMOUSE_QUEUE_SIZE), VMSTATE_UINT16(nb_queue, VMMouseState), |