diff options
Diffstat (limited to 'include/parserutils/input/inputstream.h')
-rw-r--r-- | include/parserutils/input/inputstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/parserutils/input/inputstream.h b/include/parserutils/input/inputstream.h index 3a24e84..f56ce48 100644 --- a/include/parserutils/input/inputstream.h +++ b/include/parserutils/input/inputstream.h @@ -89,7 +89,7 @@ static inline uintptr_t parserutils_inputstream_peek( return PARSERUTILS_INPUTSTREAM_OOD; #ifndef NDEBUG - fprintf(stdout, "Peek: len: %lu cur: %lu off: %lu\n", + fprintf(stdout, "Peek: len: %zu cur: %u off: %zu\n", stream->utf8->length, stream->cursor, offset); parserutils_buffer_randomise(stream->utf8); #endif @@ -144,7 +144,7 @@ static inline void parserutils_inputstream_advance( return; #ifndef NDEBUG - fprintf(stdout, "Advance: len: %lu cur: %lu bytes: %lu\n", + fprintf(stdout, "Advance: len: %zu cur: %u bytes: %zu\n", stream->utf8->length, stream->cursor, bytes); #endif |