summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-07-23 16:36:22 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2016-03-10 16:01:46 +0100
commit0853b579df42b8833e86940bb719e143f71203fb (patch)
tree7524ce1da153b8cfc998d08c2ff25d8928b3f86a
parent2ccf106920d650ddf8eebd80654519290e5fa452 (diff)
proto: Use proper type for preferred_compression field
No need to use an uint8 typed member, we can directly use the appropriate enum8 type here, which makes everything more explicit. (cherry picked from spice-protocol commit 8a3def14e35039753097094ba356e85e8fc2d128) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
-rw-r--r--spice.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/spice.proto b/spice.proto
index db015a5..3bca900 100644
--- a/spice.proto
+++ b/spice.proto
@@ -935,7 +935,7 @@ channel DisplayChannel : BaseChannel {
} stream_report;
message {
- uint8 image_compression;
+ image_compression image_compression;
} preferred_compression;
};