mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -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
|
@ -534,7 +534,7 @@ static void interface_release_resource(QXLInstance *sin,
|
|||
QXLCommandExt *ext;
|
||||
|
||||
dprint(2, "%s/%d:\n", __func__, ssd->qxl.id);
|
||||
ext = (void *)(rext.info->id);
|
||||
ext = (void *)(intptr_t)(rext.info->id);
|
||||
switch (ext->cmd.type) {
|
||||
case QXL_CMD_DRAW:
|
||||
update = container_of(ext, SimpleSpiceUpdate, ext);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue