Seems ok, ack
On Wed, Apr 27, 2011 at 06:56:00PM +0300, Alon Levy wrote:
> ---
>  src/qxl_driver.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/qxl_driver.c b/src/qxl_driver.c
> index ff6fe97..18050fb 100644
> --- a/src/qxl_driver.c
> +++ b/src/qxl_driver.c
> @@ -906,14 +906,14 @@ qxl_screen_init(int scrnIndex, ScreenPtr pScreen, int 
> argc, char **argv)
>      
>      qxl->io_pages = (void *)((unsigned long)qxl->ram);
>      qxl->io_pages_physical = (void *)((unsigned long)qxl->ram_physical);
> -    
> -    qxl->command_ring = qxl_ring_create (&(ram_header->cmd_ring),
> +
> +    qxl->command_ring = qxl_ring_create ((struct qxl_ring_header 
> *)&(ram_header->cmd_ring),
>                                        sizeof (struct QXLCommand),
>                                        QXL_COMMAND_RING_SIZE, 
> QXL_IO_NOTIFY_CMD, qxl);
> -    qxl->cursor_ring = qxl_ring_create (&(ram_header->cursor_ring),
> +    qxl->cursor_ring = qxl_ring_create ((struct qxl_ring_header 
> *)&(ram_header->cursor_ring),
>                                       sizeof (struct QXLCommand),
>                                       QXL_CURSOR_RING_SIZE, 
> QXL_IO_NOTIFY_CURSOR, qxl);
> -    qxl->release_ring = qxl_ring_create (&(ram_header->release_ring),
> +    qxl->release_ring = qxl_ring_create ((struct qxl_ring_header 
> *)&(ram_header->release_ring),
>                                        sizeof (uint64_t),
>                                        QXL_RELEASE_RING_SIZE, 0, qxl);
>  
> -- 
> 1.7.4.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpvwU9tH14hE.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to