1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Make lzma_stream.next_in const. Let's see if anyone complains.

This commit is contained in:
Lasse Collin 2008-03-12 23:14:50 +02:00
parent bfde3b24a5
commit 748d6e4274

View file

@ -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. */