---
 src/channel-usbredir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/channel-usbredir.c b/src/channel-usbredir.c
index ddd0d1b..a6cbfe0 100644
--- a/src/channel-usbredir.c
+++ b/src/channel-usbredir.c
@@ -796,7 +796,7 @@ static void spice_usbredir_channel_up(SpiceChannel *c)
 static int try_handle_compressed_msg(SpiceMsgCompressedData 
*compressed_data_msg,
                                      uint8_t **buf,
                                      int *size) {
-    uint32_t decompressed_size = 0;
+    int32_t decompressed_size = 0;
     char *decompressed = NULL;
 
     if (compressed_data_msg->uncompressed_size == 0) {
-- 
2.5.5

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to