mirror of https://github.com/xemu-project/xemu.git
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
|
@ -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);
|
||||
|
|
|
@ -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…
Reference in New Issue