diff options
-rw-r--r-- | payloads/libpayload/include/lzma.h | 2 | ||||
-rw-r--r-- | 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 5be6f43935..818c16da1e 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 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; |