From e585056d135f5c44bfb0a7748b5f0d1dd147f51d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 May 2018 00:34:55 +0200 Subject: Fix UTF-8 round tripping --- src/reader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1