diff options
author | David Robillard <d@drobilla.net> | 2018-05-13 00:34:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-05-27 21:10:21 +0200 |
commit | 655e6429d10091da033973027b4a1c5393e53a1c (patch) | |
tree | 157fceeef962f20ce87150a4bafb70695a7cab9c /src/reader.h | |
parent | b260af75f48f3824d6fbcb634ddc285f2be4665e (diff) | |
download | serd-655e6429d10091da033973027b4a1c5393e53a1c.tar.gz serd-655e6429d10091da033973027b4a1c5393e53a1c.tar.bz2 serd-655e6429d10091da033973027b4a1c5393e53a1c.zip |
Fix UTF-8 round tripping
Diffstat (limited to 'src/reader.h')
-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 53662289..5ce98482 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; } |