diff options
author | David Robillard <d@drobilla.net> | 2019-01-06 15:59:51 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 0e7355e8b83a2a3dd4b01e18ef0044e509084035 (patch) | |
tree | a845d027df03d3244749c0bfb041cbb46c98f33d /tests | |
parent | bda9843d122d49e3a438709a57ffa6391d756dd1 (diff) | |
download | serd-0e7355e8b83a2a3dd4b01e18ef0044e509084035.tar.gz serd-0e7355e8b83a2a3dd4b01e18ef0044e509084035.tar.bz2 serd-0e7355e8b83a2a3dd4b01e18ef0044e509084035.zip |
Fix various sign conversion warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/serd_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c index 797a489a..92d23aae 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -566,9 +566,9 @@ main(void) } // Write statements with bad UTF-8 (should be replaced) - const char bad_str[] = { (char)0xFF, (char)0x90, 'h', 'i', 0 }; - SerdNode* bad_lit = serd_new_string(bad_str); - SerdNode* bad_uri = serd_new_uri(bad_str); + const uint8_t bad_str[] = { 0xFF, 0x90, 'h', 'i', 0 }; + SerdNode* bad_lit = serd_new_string((const char*)bad_str); + SerdNode* bad_uri = serd_new_uri((const char*)bad_str); assert(!serd_sink_write(iface, 0, s, p, bad_lit, 0)); assert(!serd_sink_write(iface, 0, s, p, bad_uri, 0)); serd_node_free(bad_uri); |