From: Rafał Miłecki Date: Thu, 25 Jun 2020 12:12:10 +0000 (+0200) Subject: lxlfw: fix struct lxl_hdr attribute X-Git-Url: http://git.openwrt.org/openwrt/docs.git?a=commitdiff_plain;h=16fa8907612285dc068ff6b3bbb03af1d292e700;p=project%2Ffirmware-utils.git lxlfw: fix struct lxl_hdr attribute Signed-off-by: Rafał Miłecki --- 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