diff options
Diffstat (limited to 'tests/qtest/libqos/ahci.h')
-rw-r--r-- | tests/qtest/libqos/ahci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/libqos/ahci.h b/tests/qtest/libqos/ahci.h index f05b3e5fce..44ab1104b5 100644 --- a/tests/qtest/libqos/ahci.h +++ b/tests/qtest/libqos/ahci.h @@ -351,7 +351,7 @@ typedef struct AHCIQState { typedef struct FIS { uint8_t fis_type; uint8_t flags; - char data[0]; + char data[]; } __attribute__((__packed__)) FIS; /** |