mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
Fix coreboot GCC7 build issue
This is fixed in coreboot master but backporting for Heads. Closes #241
This commit is contained in:
parent
61f6973c5c
commit
5f9567c390
@ -475,3 +475,16 @@ index 738e285..c7c0c62 100644
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
diff --git ./util/cbfstool/lz4/lib/lz4frame.c ./util/cbfstool/lz4/lib/lz4frame.c
|
||||
index e5458bb..58fb68f 100644
|
||||
--- ./util/cbfstool/lz4/lib/lz4frame.c
|
||||
+++ ./util/cbfstool/lz4/lib/lz4frame.c
|
||||
@@ -1091,7 +1091,7 @@ size_t LZ4F_decompress(LZ4F_decompressionContext_t decompressionContext,
|
||||
dctxPtr->tmpInTarget = minFHSize; /* minimum to attempt decode */
|
||||
dctxPtr->dStage = dstage_storeHeader;
|
||||
}
|
||||
-
|
||||
+ /* Falls through. */
|
||||
case dstage_storeHeader:
|
||||
{
|
||||
size_t sizeToCopy = dctxPtr->tmpInTarget - dctxPtr->tmpInSize;
|
||||
|
Loading…
Reference in New Issue
Block a user