aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-07 20:12:46 +0100
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commit2ba1f73d52324588fe16d5aec2700aed44d8c92e (patch)
tree6576d773216e3e61c65a960ea8f02255b1adebe0 /src/writer.c
parent9428a46392dd414d05a1126016d5894494a717c3 (diff)
downloadserd-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.c2
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;