diff options
Diffstat (limited to 'src/reader.h')
-rw-r--r-- | src/reader.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/reader.h b/src/reader.h index 9bdbf72f..8fba7504 100644 --- a/src/reader.h +++ b/src/reader.h @@ -58,6 +58,7 @@ struct SerdReaderImpl { SerdNode* rdf_rest; SerdNode* rdf_nil; SerdByteSource* source; + SerdEnv* env; SerdStack stack; SerdSyntax syntax; SerdReaderFlags flags; @@ -172,10 +173,7 @@ push_byte(SerdReader* reader, SerdNode* node, const int c) } static inline SerdStatus -push_bytes(SerdReader* reader, - SerdNode* ref, - const uint8_t* bytes, - unsigned len) +push_bytes(SerdReader* reader, SerdNode* ref, const uint8_t* bytes, size_t len) { const bool has_space = reader->stack.buf_size >= reader->stack.size + len; if (has_space) { |