OK

Acked-by: Jonathon Jongsma <[email protected]>


On Wed, 2018-06-27 at 17:50 +0100, Frediano Ziglio wrote:
> Should be a 0/1 but just in case make sure.
> 
> Signed-off-by: Frediano Ziglio <[email protected]>
> ---
>  common/canvas_base.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/canvas_base.c b/common/canvas_base.c
> index 62c458d..6bf6e5d 100644
> --- a/common/canvas_base.c
> +++ b/common/canvas_base.c
> @@ -529,7 +529,7 @@ static pixman_image_t *canvas_get_lz4(CanvasBase
> *canvas, SpiceImage *image)
>      width = image->descriptor.width;
>      stride_encoded = width;
>      height = image->descriptor.height;
> -    top_down = *(data++);
> +    top_down = !!*(data++);
>      spice_format = *(data++);
>      switch (spice_format) {
>          case SPICE_BITMAP_FMT_16BIT:
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to