diff options
author | David Robillard <d@drobilla.net> | 2018-05-13 00:34:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | e585056d135f5c44bfb0a7748b5f0d1dd147f51d (patch) | |
tree | c26aa32d30b267b2bdbf93f9b48955f7010c329f /src | |
parent | 579309ccbb87c22d97463d46c3f0afc037ba522c (diff) | |
download | serd-e585056d135f5c44bfb0a7748b5f0d1dd147f51d.tar.gz serd-e585056d135f5c44bfb0a7748b5f0d1dd147f51d.tar.bz2 serd-e585056d135f5c44bfb0a7748b5f0d1dd147f51d.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; } |