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

Frediano Ziglio fziglio at redhat.com
Fri Jun 17 16:38:10 UTC 2016


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,
-- 
2.7.4



More information about the Spice-devel mailing list