From 6ddcd5468a63adae6ff37ba371e8469aef97b267 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 23 Jul 2015 16:36:22 +0200 Subject: [PATCH] proto: Use proper type for preferred_compression field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- spice.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };