mirror of https://git.tukaani.org/xz.git
Make lzma_stream.next_in const. Let's see if anyone complains.
This commit is contained in:
parent
bfde3b24a5
commit
748d6e4274
|
@ -315,7 +315,7 @@ typedef struct lzma_internal_s lzma_internal;
|
||||||
* Application must not touch the `internal' pointer.
|
* Application must not touch the `internal' pointer.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
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. */
|
size_t avail_in; /**< Number of available input bytes in next_in. */
|
||||||
uint64_t total_in; /**< Total number of bytes read by liblzma. */
|
uint64_t total_in; /**< Total number of bytes read by liblzma. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue