[Spice-devel] [RFC 09/33] qxl_driver: fix initialization from wrong pointer warning

Christophe Fergeau cfergeau at redhat.com
Thu Apr 28 07:19:41 PDT 2011


Ack too

On Wed, Apr 27, 2011 at 06:55:58PM +0300, Alon Levy wrote:
> ---
>  src/qxl_driver.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/qxl_driver.c b/src/qxl_driver.c
> index 3514360..dced9fb 100644
> --- a/src/qxl_driver.c
> +++ b/src/qxl_driver.c
> @@ -60,7 +60,7 @@ qxl_garbage_collect (qxl_screen_t *qxl)
>  	    
>  	    union QXLReleaseInfo *info = u64_to_pointer (id & ~POINTER_MASK);
>  	    struct QXLCursorCmd *cmd = (struct QXLCursorCmd *)info;
> -	    struct QXLDrawable *drawable = (struct qxl_drawable *)info;
> +	    struct QXLDrawable *drawable = (struct QXLDrawable *)info;
>  	    struct QXLSurfaceCmd *surface_cmd = (struct QXLSurfaceCmd *)info;
>  	    int is_cursor = FALSE;
>  	    int is_surface = FALSE;
> -- 
> 1.7.4.4
> 
> _______________________________________________
> 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/20110428/309b6bc6/attachment-0001.pgp>


More information about the Spice-devel mailing list