aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-03-12 23:14:50 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-03-12 23:14:50 +0200
commit748d6e4274921a350bd0a317380309717441ef9c (patch)
treec9d935200f6f7c8884ec672f8272026a25f5aa21 /src/liblzma/api
parentApply a minor speed optimization to LZMA decoder. (diff)
downloadxz-748d6e4274921a350bd0a317380309717441ef9c.tar.xz
Make lzma_stream.next_in const. Let's see if anyone complains.
Diffstat (limited to 'src/liblzma/api')
-rw-r--r--src/liblzma/api/lzma/base.h2
1 files changed, 1 insertions, 1 deletions
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. */