From: Luiz Capitulino <lcapitulino@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org,
Anthony Liguori <aliguori@amazon.com>
Subject: Re: [Qemu-devel] [PATCH] spice: fix 32bit build
Date: Fri, 20 Jun 2014 09:35:02 -0400 [thread overview]
Message-ID: <20140620093502.77af4e10@redhat.com> (raw)
In-Reply-To: <1403244764-8622-1-git-send-email-kraxel@redhat.com>
On Fri, 20 Jun 2014 08:12:44 +0200
Gerd Hoffmann <kraxel@redhat.com> wrote:
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Luiz Capitulino <lcapitulino@redhat.com>
> ---
> hw/display/qxl.c | 2 +-
> ui/spice-display.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/display/qxl.c b/hw/display/qxl.c
> index 736fd3c..d43aa49 100644
> --- a/hw/display/qxl.c
> +++ b/hw/display/qxl.c
> @@ -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);
> 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);
next prev parent reply other threads:[~2014-06-20 13:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-20 6:12 [Qemu-devel] [PATCH] spice: fix 32bit build Gerd Hoffmann
2014-06-20 13:35 ` Luiz Capitulino [this message]
2014-06-20 15:57 ` Peter Maydell
2014-06-20 16:02 ` Luiz Capitulino
-- strict thread matches above, loose matches on Subject: below --
2012-03-20 11:26 Gerd Hoffmann
2012-03-20 11:42 ` Peter Maydell
2012-03-20 12:13 ` Gerd Hoffmann
2012-03-20 12:14 ` Peter Maydell
2012-03-20 12:45 ` Michael Tokarev
2012-03-20 13:19 ` Alon Levy
2012-03-20 13:38 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140620093502.77af4e10@redhat.com \
--to=lcapitulino@redhat.com \
--cc=aliguori@amazon.com \
--cc=kraxel@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).