diff options
| author | Gerd Hoffmann | 2014-06-20 08:12:44 +0200 |
|---|---|---|
| committer | Peter Maydell | 2014-06-20 17:22:07 +0200 |
| commit | e8e23b7dcf1466a11061bcb1da454489187bbb97 (patch) | |
| tree | d38943a1c716851df7b4133e8e1a10df60032389 /ui/spice-display.c | |
| parent | Merge remote-tracking branch 'remotes/rth/tcg-next' into staging (diff) | |
| download | qemu-e8e23b7dcf1466a11061bcb1da454489187bbb97.tar.gz qemu-e8e23b7dcf1466a11061bcb1da454489187bbb97.tar.xz qemu-e8e23b7dcf1466a11061bcb1da454489187bbb97.zip | |
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>
Diffstat (limited to 'ui/spice-display.c')
| -rw-r--r-- | ui/spice-display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c index 03040b157f..66e25788ce 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); |
