diff options
author | David Robillard <d@drobilla.net> | 2019-01-07 20:16:28 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 105cc91e8fb7bb1a70e5715dbbbf3f967d508065 (patch) | |
tree | ae1f69f71e9e77ed9544da99f65cf0d636e7d508 /src | |
parent | 2ba1f73d52324588fe16d5aec2700aed44d8c92e (diff) | |
download | serd-105cc91e8fb7bb1a70e5715dbbbf3f967d508065.tar.gz serd-105cc91e8fb7bb1a70e5715dbbbf3f967d508065.tar.bz2 serd-105cc91e8fb7bb1a70e5715dbbbf3f967d508065.zip |
Remove redundant cast
Diffstat (limited to 'src')
-rw-r--r-- | src/uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ serd_file_uri_parse(const char* uri, char** hostname) ++s; } else if (is_hexdig(*(s + 1)) && is_hexdig(*(s + 2))) { const char code[3] = {*(s + 1), *(s + 2), 0}; - const char c = (char)strtoul((const char*)code, NULL, 16); + const char c = (char)strtoul(code, NULL, 16); serd_buffer_sink(&c, 1, 1, &buffer); s += 2; } else { |