From: Lasse Collin Date: Wed, 12 Mar 2008 21:14:50 +0000 (+0200) Subject: Make lzma_stream.next_in const. Let's see if anyone complains. X-Git-Tag: v4.999.3alpha~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=748d6e4274921a350bd0a317380309717441ef9c;p=xz Make lzma_stream.next_in const. Let's see if anyone complains. --- diff --git a/src/liblzma/api/lzma/base.h b/src/liblzma/api/lzma/base.h index 53cf89f5..e7edf531 100644 --- a/src/liblzma/api/lzma/base.h +++ b/src/liblzma/api/lzma/base.h @@ -315,7 +315,7 @@ typedef struct lzma_internal_s lzma_internal; * Application must not touch the `internal' pointer. */ typedef struct { - uint8_t *next_in; /**< Pointer to the next input byte. */ + const uint8_t *next_in; /**< Pointer to the next input byte. */ size_t avail_in; /**< Number of available input bytes in next_in. */ uint64_t total_in; /**< Total number of bytes read by liblzma. */