ping > > These structure contain only bytes, no need for this attribute. > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> > --- > server/glz-encoder.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/server/glz-encoder.c b/server/glz-encoder.c > index 341294035..ee9d95ae9 100644 > --- a/server/glz-encoder.c > +++ b/server/glz-encoder.c > @@ -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; > -- > 2.20.1 > > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel