lib: Fix spelling
Change-Id: I999987af9cb44906e3c3135c0351a0cd6eb210ff Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3756 Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Stefan Reinauer
parent
63373edce0
commit
cbf2bd715a
@ -34,8 +34,8 @@ unsigned long ulzma(unsigned char * src, unsigned char * dst)
|
||||
memcpy(properties, src, LZMA_PROPERTIES_SIZE);
|
||||
/* The outSize in LZMA stream is a 64bit integer stored in little-endian
|
||||
* (ref: lzma.cc@LZMACompress: put_64). To prevent accessing by
|
||||
* unaligned memory address and to load in correct endianess, read each
|
||||
* byte and re-costruct. */
|
||||
* unaligned memory address and to load in correct endianness, read each
|
||||
* byte and re-construct. */
|
||||
cp = src + LZMA_PROPERTIES_SIZE;
|
||||
outSize = cp[3] << 24 | cp[2] << 16 | cp[1] << 8 | cp[0];
|
||||
if (LzmaDecodeProperties(&state.Properties, properties, LZMA_PROPERTIES_SIZE) != LZMA_RESULT_OK) {
|
||||
|
Reference in New Issue
Block a user