diff options
author | David Robillard <d@drobilla.net> | 2019-04-19 16:49:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-20 13:04:50 +0200 |
commit | a12cbf64bc5860121e005a5237e63584501c7cb2 (patch) | |
tree | 42d2387b013fcab468ffd22ff97bf3f8e7839326 /src/n3.c | |
parent | af31671c93c959f2750c92014b0159f8dc36459f (diff) | |
download | serd-a12cbf64bc5860121e005a5237e63584501c7cb2.tar.gz serd-a12cbf64bc5860121e005a5237e63584501c7cb2.tar.bz2 serd-a12cbf64bc5860121e005a5237e63584501c7cb2.zip |
Fix incorrect print format arguments
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -646,10 +646,12 @@ read_IRIREF(SerdReader* reader) if (c <= 0x20) { if (isprint(c)) { r_err(reader, SERD_ERR_BAD_SYNTAX, - "invalid IRI character `%c' (escape %%%02X)\n", c, c); + "invalid IRI character `%c' (escape %%%02X)\n", + c, (unsigned)c); } else { r_err(reader, SERD_ERR_BAD_SYNTAX, - "invalid IRI character (escape %%%02X)\n", c, c); + "invalid IRI character (escape %%%02X)\n", + (unsigned)c); } if (reader->strict) { return pop_node(reader, ref); |