From e8e23b7dcf1466a11061bcb1da454489187bbb97 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 20 Jun 2014 08:12:44 +0200 Subject: spice: fix 32bit build Tested-by: Luiz Capitulino Signed-off-by: Gerd Hoffmann Message-id: 1403244764-8622-1-git-send-email-kraxel@redhat.com Signed-off-by: Peter Maydell --- ui/spice-display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/spice-display.c b/ui/spice-display.c index 03040b1..66e2578 100644 --- a/ui/spice-display.c +++ b/ui/spice-display.c @@ -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); -- cgit v1.1