Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2667
-gerrit
commit 56abb3524a637bf3f831984d46aa62bf30a72f4c Author: Gabe Black gabeblack@google.com Date: Mon Feb 11 20:43:45 2013 -0800
libpayload: Make the source for lzma decompression const
Change-Id: I9a16331dedc97f17af94bf2cf535a9c93d1729a0 Signed-off-by: Gabe Black gabeblack@google.com --- payloads/libpayload/include/lzma.h | 2 +- payloads/libpayload/liblzma/lzma.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/payloads/libpayload/include/lzma.h b/payloads/libpayload/include/lzma.h index 5be6f43..818c16d 100644 --- a/payloads/libpayload/include/lzma.h +++ b/payloads/libpayload/include/lzma.h @@ -35,6 +35,6 @@ * * returns the decompressed size, or 0 on error */ -unsigned long ulzma(unsigned char *src, unsigned char *dst); +unsigned long ulzma(const unsigned char *src, unsigned char *dst);
#endif diff --git a/payloads/libpayload/liblzma/lzma.c b/payloads/libpayload/liblzma/lzma.c index fdda30d..73c499a 100644 --- a/payloads/libpayload/liblzma/lzma.c +++ b/payloads/libpayload/liblzma/lzma.c @@ -14,7 +14,7 @@ #include <string.h> #include "lzmadecode.c"
-unsigned long ulzma(unsigned char * src, unsigned char * dst) +unsigned long ulzma(const unsigned char * src, unsigned char * dst) { unsigned char properties[LZMA_PROPERTIES_SIZE]; UInt32 outSize;