Skip to content

Commit

Permalink
util/fifo8: Constify VMState
Browse files Browse the repository at this point in the history
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-70-richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Dec 29, 2023
1 parent 440b217 commit 59c2dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/fifo8.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const VMStateDescription vmstate_fifo8 = {
.name = "Fifo8",
.version_id = 1,
.minimum_version_id = 1,
.fields = (VMStateField[]) {
.fields = (const VMStateField[]) {
VMSTATE_VBUFFER_UINT32(data, Fifo8, 1, NULL, capacity),
VMSTATE_UINT32(head, Fifo8),
VMSTATE_UINT32(num, Fifo8),
Expand Down

0 comments on commit 59c2dde

Please sign in to comment.