From 4b670111a0109ef0e026ac810ef2bce8cc8c6149 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 18 Jun 2010 17:12:07 +0200 Subject: [PATCH] Make ping data @as_ptr to avoid copying data --- spice.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spice.proto b/spice.proto index 6750d2d..bad9ed3 100644 --- a/spice.proto +++ b/spice.proto @@ -111,7 +111,7 @@ channel BaseChannel { message { uint32 id; uint64 timestamp; - uint8 data[] @end @ctype(uint8_t); + uint8 data[] @end @ctype(uint8_t) @as_ptr(data_len); } ping; message {