]> granicus.if.org Git - xz/commitdiff
Make lzma_stream.next_in const. Let's see if anyone complains.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 12 Mar 2008 21:14:50 +0000 (23:14 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 12 Mar 2008 21:14:50 +0000 (23:14 +0200)
src/liblzma/api/lzma/base.h

index 53cf89f511e6810aa06dfde8039c9bb84d199162..e7edf531be8154602582345b9d405cef56a057c1 100644 (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. */