aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-15 16:16:32 -0500
committerDavid Robillard <d@drobilla.net>2022-11-15 16:16:32 -0500
commit93c0b1867435a097f9143058b1b96d1ed8c8b1b9 (patch)
treecd1c0126573107b61712d10d9b8ab62e3c9d94ed /src
parent795558db718fbbe4a53a88d5e7439db085a4e70f (diff)
downloadserd-93c0b1867435a097f9143058b1b96d1ed8c8b1b9.tar.gz
serd-93c0b1867435a097f9143058b1b96d1ed8c8b1b9.tar.bz2
serd-93c0b1867435a097f9143058b1b96d1ed8c8b1b9.zip
Fix implementation-defined integer conversion
Diffstat (limited to 'src')
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index 3da5726c..c2396c66 100644
--- a/src/node.c
+++ b/src/node.c
@@ -192,7 +192,7 @@ serd_node_new_file_uri(const uint8_t* const path,
size_t uri_len = 0;
uint8_t* uri = NULL;
- if (is_dir_sep(path[0]) || is_windows) {
+ if (is_dir_sep((char)path[0]) || is_windows) {
uri_len = strlen("file://") + hostname_len + is_windows;
uri = (uint8_t*)calloc(uri_len + 1, 1);