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>
This commit is contained in:
Christophe Fergeau 2015-07-23 16:36:22 +02:00
parent 7fbb50cd8e
commit 6ddcd5468a

View File

@ -935,7 +935,7 @@ channel DisplayChannel : BaseChannel {
} stream_report;
message {
uint8 image_compression;
image_compression image_compression;
} preferred_compression;
};