mirror of
git://git.proxmox.com/git/spiceterm.git
synced 2024-12-22 13:34:06 +03:00
SimpleSpiceUpdate struct needs to be packed
else the compiler guarantees alignment to 8 bytes only, but we need 1 byte to match the library's ABI. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e9120d9af3
commit
d0df10ce33
@ -69,7 +69,7 @@ int default_blu[] = {0x00,0x00,0x00,0x00,0xaa,0xaa,0xaa,0xaa,
|
||||
|
||||
/* Parts cribbed from spice-display.h/.c/qxl.c */
|
||||
|
||||
typedef struct SimpleSpiceUpdate {
|
||||
typedef struct __attribute__ ((__packed__)) SimpleSpiceUpdate {
|
||||
QXLCommandExt ext; // needs to be first member
|
||||
QXLDrawable drawable;
|
||||
QXLImage image;
|
||||
|
Loading…
Reference in New Issue
Block a user