[PATCH] Use proper types in compress_send_data_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]