diff options
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ typedef void (*free_func) OF((voidpf opaque, voidpf address)); | |||
83 | struct internal_state; | 83 | struct internal_state; |
84 | 84 | ||
85 | typedef struct z_stream_s { | 85 | typedef struct z_stream_s { |
86 | Bytef *next_in; /* next input byte */ | 86 | z_const Bytef *next_in; /* next input byte */ |
87 | uInt avail_in; /* number of bytes available at next_in */ | 87 | uInt avail_in; /* number of bytes available at next_in */ |
88 | uLong total_in; /* total number of input bytes read so far */ | 88 | uLong total_in; /* total number of input bytes read so far */ |
89 | 89 | ||
@@ -91,7 +91,7 @@ typedef struct z_stream_s { | |||
91 | uInt avail_out; /* remaining free space at next_out */ | 91 | uInt avail_out; /* remaining free space at next_out */ |
92 | uLong total_out; /* total number of bytes output so far */ | 92 | uLong total_out; /* total number of bytes output so far */ |
93 | 93 | ||
94 | char *msg; /* last error message, NULL if no error */ | 94 | z_const char *msg; /* last error message, NULL if no error */ |
95 | struct internal_state FAR *state; /* not visible by applications */ | 95 | struct internal_state FAR *state; /* not visible by applications */ |
96 | 96 | ||
97 | alloc_func zalloc; /* used to allocate the internal state */ | 97 | alloc_func zalloc; /* used to allocate the internal state */ |