aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-29 14:03:32 -0400
committerDavid Robillard <d@drobilla.net>2021-05-31 11:29:16 -0400
commit0ea841d621f81240241fc36a0e6153f57ab88020 (patch)
treeb2260c8df5cc0ce2ddac45ef285eb07a6a066a0f /src/n3.c
parent10c6dcff8d28ca2a05d2ebcfa9bb47e24e5a9d64 (diff)
downloadserd-0ea841d621f81240241fc36a0e6153f57ab88020.tar.gz
serd-0ea841d621f81240241fc36a0e6153f57ab88020.tar.bz2
serd-0ea841d621f81240241fc36a0e6153f57ab88020.zip
Fix some conversion warnings
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/n3.c b/src/n3.c
index a4a00702..fbe3c392 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -310,14 +310,14 @@ read_ws_star(SerdReader* reader)
}
static inline bool
-peek_delim(SerdReader* reader, const char delim)
+peek_delim(SerdReader* reader, const uint8_t delim)
{
read_ws_star(reader);
return peek_byte(reader) == delim;
}
static inline bool
-eat_delim(SerdReader* reader, const char delim)
+eat_delim(SerdReader* reader, const uint8_t delim)
{
if (peek_delim(reader, delim)) {
eat_byte_safe(reader, delim);