diff options
author | David Robillard <d@drobilla.net> | 2019-01-07 18:55:35 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-07 18:55:35 +0100 |
commit | 9d31b07bbc144da93eb65250ee7cf47611d1ce16 (patch) | |
tree | 83c59c63f86281803ff9e11a033b251e950fbe58 /src/uri_utils.h | |
parent | 9b80535334de1a3ca0bf40d2f1109202385148aa (diff) | |
download | serd-9d31b07bbc144da93eb65250ee7cf47611d1ce16.tar.gz serd-9d31b07bbc144da93eb65250ee7cf47611d1ce16.tar.bz2 serd-9d31b07bbc144da93eb65250ee7cf47611d1ce16.zip |
WIP: Fix warningsserd1-warnings
Diffstat (limited to 'src/uri_utils.h')
-rw-r--r-- | src/uri_utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uri_utils.h b/src/uri_utils.h index f734c12e..926aaff3 100644 --- a/src/uri_utils.h +++ b/src/uri_utils.h @@ -66,8 +66,8 @@ uri_rooted_index(const SerdURI* uri, const SerdURI* root) const size_t root_len = uri_path_len(root); size_t last_root_slash = 0; for (size_t i = 0; i < path_len && i < root_len; ++i) { - const uint8_t u = uri_path_at(uri, i); - const uint8_t r = uri_path_at(root, i); + const char u = uri_path_at(uri, i); + const char r = uri_path_at(root, i); differ = differ || u != r; if (r == '/') { @@ -97,7 +97,7 @@ uri_is_under(const SerdURI* uri, const SerdURI* root) } static inline bool -is_uri_scheme_char(const uint8_t c) +is_uri_scheme_char(const char c) { switch (c) { case ':': case '+': case '-': case '.': |