mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
spice: fix 32bit build
Tested-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1403244764-8622-1-git-send-email-kraxel@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
a096922bef
commit
e8e23b7dcf
2 changed files with 2 additions and 2 deletions
|
@ -710,7 +710,7 @@ static void interface_release_resource(QXLInstance *sin,
|
|||
|
||||
if (ext.group_id == MEMSLOT_GROUP_HOST) {
|
||||
/* host group -> vga mode update request */
|
||||
QXLCommandExt *cmdext = (void *)(ext.info->id);
|
||||
QXLCommandExt *cmdext = (void *)(intptr_t)(ext.info->id);
|
||||
SimpleSpiceUpdate *update;
|
||||
g_assert(cmdext->cmd.type == QXL_CMD_DRAW);
|
||||
update = container_of(cmdext, SimpleSpiceUpdate, ext);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue