[Spice-devel] [PATCH spice-common] protocol: Removed unneeded type specifications
Uri Lublin
uril at redhat.com
Wed Aug 14 09:29:46 UTC 2019
On 8/14/19 11:48 AM, Frediano Ziglio wrote:
> Default type is already uint8_t.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Ack.
Uri.
> ---
> spice.proto | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/spice.proto b/spice.proto
> index 3bbec0c..34ba3c8 100644
> --- a/spice.proto
> +++ b/spice.proto
> @@ -109,7 +109,7 @@ message Empty {
> } @declare;
>
> message Data {
> - uint8 data[] @end @ctype(uint8_t);
> + uint8 data[] @end;
> } @nocopy @declare;
>
> enum8 data_compression_type {
> @@ -156,7 +156,7 @@ channel BaseChannel {
> message {
> uint32 id;
> uint64 timestamp;
> - uint8 data[] @ctype(uint8_t) @as_ptr(data_len);
> + uint8 data[] @as_ptr(data_len);
> } @declare ping;
>
> message {
>
More information about the Spice-devel
mailing list