From 93c0b1867435a097f9143058b1b96d1ed8c8b1b9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Nov 2022 16:16:32 -0500 Subject: Fix implementation-defined integer conversion --- src/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1