aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);