aboutsummaryrefslogtreecommitdiffstats
path: root/src/byte_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/byte_source.h')
-rw-r--r--src/byte_source.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/byte_source.h b/src/byte_source.h
index b895aac1..e0c9e349 100644
--- a/src/byte_source.h
+++ b/src/byte_source.h
@@ -40,10 +40,10 @@ typedef struct {
void* stream; ///< Stream (e.g. FILE)
size_t page_size; ///< Number of bytes to read at a time
Cursor cur; ///< Cursor for error reporting
- char* file_buf; ///< Buffer iff reading pages from a file
- const char* read_buf; ///< Pointer to file_buf or read_byte
+ uint8_t* file_buf; ///< Buffer iff reading pages from a file
+ const uint8_t* read_buf; ///< Pointer to file_buf or read_byte
size_t read_head; ///< Offset into read_buf
- char read_byte; ///< 1-byte 'buffer' used when not paging
+ uint8_t read_byte; ///< 1-byte 'buffer' used when not paging
bool from_stream; ///< True iff reading from `stream`
bool prepared; ///< True iff prepared for reading
bool eof; ///< True iff end of file reached