summaryrefslogtreecommitdiff
path: root/payloads/libpayload/liblzma
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-02-11 20:43:45 -0800
committerPatrick Georgi <patrick@georgi-clan.de>2013-03-13 18:16:35 +0100
commitb53a73ef7726ccbaea73cb560b6f72cdb166eb50 (patch)
treefc6182fb40643a9e2854779f79ad42c1ca1004d8 /payloads/libpayload/liblzma
parentaeda4b8c0a47afc52e079faa4c0ea0ee71de9bbf (diff)
downloadcoreboot-b53a73ef7726ccbaea73cb560b6f72cdb166eb50.tar.xz
libpayload: Make the source for lzma decompression const
Change-Id: I9a16331dedc97f17af94bf2cf535a9c93d1729a0 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://review.coreboot.org/2667 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/liblzma')
-rw-r--r--payloads/libpayload/liblzma/lzma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/liblzma/lzma.c b/payloads/libpayload/liblzma/lzma.c
index fdda30d8c4..73c499a826 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;