diff options
author | David Robillard <d@drobilla.net> | 2019-01-07 20:12:46 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 2ba1f73d52324588fe16d5aec2700aed44d8c92e (patch) | |
tree | 6576d773216e3e61c65a960ea8f02255b1adebe0 /src/writer.c | |
parent | 9428a46392dd414d05a1126016d5894494a717c3 (diff) | |
download | serd-2ba1f73d52324588fe16d5aec2700aed44d8c92e.tar.gz serd-2ba1f73d52324588fe16d5aec2700aed44d8c92e.tar.bz2 serd-2ba1f73d52324588fe16d5aec2700aed44d8c92e.zip |
Fix character conversion warnings
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c index d7603d9a..57e5dc92 100644 --- a/src/writer.c +++ b/src/writer.c @@ -323,7 +323,7 @@ write_text(SerdWriter* writer, TextContext ctx, break; // Reached end } - const uint8_t in = utf8[i++]; + const char in = utf8[i++]; if (ctx == WRITE_LONG_STRING) { switch (in) { case '\\': len += sink("\\\\", 2, writer); continue; |