From 16fa8907612285dc068ff6b3bbb03af1d292e700 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 25 Jun 2020 14:12:10 +0200 Subject: [PATCH] lxlfw: fix struct lxl_hdr attribute MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki --- src/lxlfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxlfw.c b/src/lxlfw.c index a78690c..52955ed 100644 --- a/src/lxlfw.c +++ b/src/lxlfw.c @@ -60,7 +60,7 @@ struct lxl_hdr { /* Version: 2+ */ uint8_t release[4]; uint8_t v2_end[0]; -} __packed; +} __attribute__((packed)); /************************************************** * Helpers -- 2.30.2