mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-17 17:50:07 +00:00
glz-encoder: Remove useless __packed__ attribute
These structure contain only bytes, no need for this attribute. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
ecd0d70a3d
commit
b22ce8b042
@ -168,18 +168,18 @@ void glz_encoder_destroy(GlzEncoderContext *opaque_encoder)
|
||||
|
||||
typedef uint8_t BYTE;
|
||||
|
||||
typedef struct __attribute__ ((__packed__)) one_byte_pixel_t {
|
||||
typedef struct one_byte_pixel_t {
|
||||
BYTE a;
|
||||
} one_byte_pixel_t;
|
||||
|
||||
typedef struct __attribute__ ((__packed__)) rgb32_pixel_t {
|
||||
typedef struct rgb32_pixel_t {
|
||||
BYTE b;
|
||||
BYTE g;
|
||||
BYTE r;
|
||||
BYTE pad;
|
||||
} rgb32_pixel_t;
|
||||
|
||||
typedef struct __attribute__ ((__packed__)) rgb24_pixel_t {
|
||||
typedef struct rgb24_pixel_t {
|
||||
BYTE b;
|
||||
BYTE g;
|
||||
BYTE r;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user