[Spice-devel] [PATCH xf86-video-qxl 09/13] spiceqxl_io_port: use pointer_to_u64 (fix warning)

Christophe Fergeau cfergeau at redhat.com
Tue Apr 10 03:25:48 PDT 2012


ACK
On Mon, Apr 09, 2012 at 08:33:15PM +0300, Alon Levy wrote:
> ---
>  src/spiceqxl_io_port.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/spiceqxl_io_port.c b/src/spiceqxl_io_port.c
> index 050e7b9..f599b4e 100644
> --- a/src/spiceqxl_io_port.c
> +++ b/src/spiceqxl_io_port.c
> @@ -175,7 +175,7 @@ static void qxl_destroy_primary(qxl_screen_t *qxl)
>  static void qxl_set_mode(qxl_screen_t *qxl, int modenr)
>  {
>      struct QXLMode *mode = qxl->modes + modenr;
> -    uint64_t devmem = (uint64_t)qxl->ram;
> +    uint64_t devmem = pointer_to_u64(qxl->ram);
>      QXLSurfaceCreate surface = {
>          .width      = mode->x_res,
>          .height     = mode->y_res,
> -- 
> 1.7.9.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120410/fc378432/attachment-0001.pgp>


More information about the Spice-devel mailing list