diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-03-12 23:14:50 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-03-12 23:14:50 +0200 |
commit | 748d6e4274921a350bd0a317380309717441ef9c (patch) | |
tree | c9d935200f6f7c8884ec672f8272026a25f5aa21 /src/liblzma | |
parent | Apply a minor speed optimization to LZMA decoder. (diff) | |
download | xz-748d6e4274921a350bd0a317380309717441ef9c.tar.xz |
Make lzma_stream.next_in const. Let's see if anyone complains.
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/api/lzma/base.h | 2 |
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. */ |