projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.denx.de/u-boot-fdt
[platform/kernel/u-boot.git]
/
lib
/
lz4_wrapper.c
diff --git
a/lib/lz4_wrapper.c
b/lib/lz4_wrapper.c
index
0739663
..
6dc8b76
100644
(file)
--- a/
lib/lz4_wrapper.c
+++ b/
lib/lz4_wrapper.c
@@
-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) {