[Spice-devel] [PATCH spice-common] protocol: Removed unneeded type specifications
Frediano Ziglio
fziglio at redhat.com
Wed Aug 14 08:48:22 UTC 2019
Default type is already uint8_t.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
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 {
--
2.20.1
More information about the Spice-devel
mailing list