]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib/lz4_wrapper.c
Makefile: Don't mess with .text section location for selected arches
[people/ms/u-boot.git] / lib / lz4_wrapper.c
index 0739663fca55fcbf4def101c6322bfd9bd51f096..6dc8b764b3f59ecb4bd9fedf46d72832a57e2488 100644 (file)
@@ -94,7 +94,9 @@ int ulz4fn(const void *src, size_t srcn, void *dst, size_t *dstn)
        }
 
        while (1) {
-               struct lz4_block_header b = { .raw = le32_to_cpu(*(u32 *)in) };
+               struct lz4_block_header b;
+
+               b.raw = le32_to_cpu(*(u32 *)in);
                in += sizeof(struct lz4_block_header);
 
                if (in - src + b.size > srcn) {