diff options
author | David Robillard <d@drobilla.net> | 2018-05-13 00:34:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:47 -0500 |
commit | 59f20cd25fe9adddc2072e98edf2e8981e1aae42 (patch) | |
tree | 0d006bad2d343e35244f652dea63132626e2da67 /src | |
parent | a8e4707a053b6db505c5ec61e75c977e57a6af1c (diff) | |
download | serd-59f20cd25fe9adddc2072e98edf2e8981e1aae42.tar.gz serd-59f20cd25fe9adddc2072e98edf2e8981e1aae42.tar.bz2 serd-59f20cd25fe9adddc2072e98edf2e8981e1aae42.zip |
Fix UTF-8 round tripping
Diffstat (limited to 'src')
-rw-r--r-- | src/reader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.h b/src/reader.h index 65b99557..259ef6bd 100644 --- a/src/reader.h +++ b/src/reader.h @@ -143,7 +143,7 @@ static inline SerdStatus push_byte(SerdReader* reader, SerdNode* node, const uint8_t c) { SERD_STACK_ASSERT_TOP(reader, node); - char* const s = (char*)serd_stack_push(&reader->stack, 1); + uint8_t* const s = (uint8_t*)serd_stack_push(&reader->stack, 1); if (!s) { return SERD_ERR_OVERFLOW; } |