summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-07-23 16:36:22 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-08-07 12:07:26 +0200
commit8a3def14e35039753097094ba356e85e8fc2d128 (patch)
treef02337762adf4d08be9e33c7ff5f8d87033b2ee4
parente857cd9a378cdf56805b64284491a12af93a7cbf (diff)
downloadspice-protocol-8a3def14e35039753097094ba356e85e8fc2d128.tar.gz
spice-protocol-8a3def14e35039753097094ba356e85e8fc2d128.tar.xz
spice-protocol-8a3def14e35039753097094ba356e85e8fc2d128.zip
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.
-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;
};