summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-07-23 16:36:22 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2016-04-14 14:33:57 +0200
commit6ddcd5468a63adae6ff37ba371e8469aef97b267 (patch)
tree7bc9f4ba7d9e34853436dd93d6ce0625e14a5d18
parent7fbb50cd8e4dc4a5f9829388cf327bac3687d180 (diff)
proto: Use proper type for preferred_compression field0.12
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;
};