lxlfw: fix struct lxl_hdr attribute
authorRafał Miłecki <rafal@milecki.pl>
Thu, 25 Jun 2020 12:12:10 +0000 (14:12 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 21 Nov 2023 15:21:21 +0000 (16:21 +0100)
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
src/lxlfw.c

index a78690cec5d38d429a1a32da3325cfb3a0a7db90..52955edaf2e73c9c3342cc2d82a8bd80e4026a2d 100644 (file)
@@ -60,7 +60,7 @@ struct lxl_hdr {
        /* Version: 2+ */
        uint8_t         release[4];
        uint8_t         v2_end[0];
-} __packed;
+} __attribute__((packed));
 
 /**************************************************
  * Helpers