aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-07 20:16:28 +0100
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commit105cc91e8fb7bb1a70e5715dbbbf3f967d508065 (patch)
treeae1f69f71e9e77ed9544da99f65cf0d636e7d508 /src
parent2ba1f73d52324588fe16d5aec2700aed44d8c92e (diff)
downloadserd-105cc91e8fb7bb1a70e5715dbbbf3f967d508065.tar.gz
serd-105cc91e8fb7bb1a70e5715dbbbf3f967d508065.tar.bz2
serd-105cc91e8fb7bb1a70e5715dbbbf3f967d508065.zip
Remove redundant cast
Diffstat (limited to 'src')
-rw-r--r--src/uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri.c b/src/uri.c
index fe0a9acb..dbe5c19f 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -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 {