[Spice-devel] [PATCH] Use proper types in compress_send_data_t

Jonathon Jongsma jjongsma at redhat.com
Mon Jun 20 19:34:04 UTC 2016


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Fri, 2016-06-17 at 17:38 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/image-encoders.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/image-encoders.h b/server/image-encoders.h
> index c4600e3..206a674 100644
> --- a/server/image-encoders.h
> +++ b/server/image-encoders.h
> @@ -192,10 +192,10 @@ struct ImageEncoders {
>  };
>  
>  typedef struct compress_send_data_t {
> -    void* comp_buf;
> +    RedCompressBuf *comp_buf;
>      uint32_t comp_buf_size;
>      SpicePalette *lzplt_palette;
> -    int is_lossy;
> +    gboolean is_lossy;
>  } compress_send_data_t;
>  
>  int image_encoders_compress_quic(ImageEncoders *enc, SpiceImage *dest,


More information about the Spice-devel mailing list