[Spice-devel] [spice-common 2/2] proto: Use proper type for preferred_compression field

Uri Lublin uril at redhat.com
Mon Jul 27 08:52:44 PDT 2015


On 07/23/2015 05:36 PM, Christophe Fergeau wrote:
> No need to use an uint8 typed member, we can directly use the
> appropriate enum8 type here, which makes everything more explicit.
> ---
>   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;
>   };
>
>

Ack.


More information about the Spice-devel mailing list