diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-18 17:11:39 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-06-18 20:27:32 +0200 |
commit | 3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e (patch) | |
tree | db8fbd3bf3c04216a9fc97011e8e00d3d0b21e03 /common | |
parent | 7fa29ea67e5202d4a3f6678445cef9bcad54aa79 (diff) | |
download | spice-3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e.tar.gz spice-3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e.tar.xz spice-3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e.zip |
Make cursor data @as_ptr to avoid copying data
Diffstat (limited to 'common')
-rw-r--r-- | common/messages.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/messages.h b/common/messages.h index f6c2aebd..2ba14bf2 100644 --- a/common/messages.h +++ b/common/messages.h @@ -173,7 +173,8 @@ typedef struct SpiceMsgcMainMouseModeRequest { typedef struct SpiceCursor { uint32_t flags; SpiceCursorHeader header; - uint8_t data[0]; + uint32_t data_size; + uint8_t *data; } SpiceCursor; typedef struct SpiceMsgDisplayMode { |