diff options
author | David Robillard <d@drobilla.net> | 2022-11-15 16:16:32 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-11-15 16:16:32 -0500 |
commit | 93c0b1867435a097f9143058b1b96d1ed8c8b1b9 (patch) | |
tree | cd1c0126573107b61712d10d9b8ab62e3c9d94ed | |
parent | 795558db718fbbe4a53a88d5e7439db085a4e70f (diff) | |
download | serd-93c0b1867435a097f9143058b1b96d1ed8c8b1b9.tar.gz serd-93c0b1867435a097f9143058b1b96d1ed8c8b1b9.tar.bz2 serd-93c0b1867435a097f9143058b1b96d1ed8c8b1b9.zip |
Fix implementation-defined integer conversion
-rw-r--r-- | src/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |