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
1 changed files with 1 additions and 1 deletions

View File

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