summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-15 20:07:34 +0200
committerDavid Robillard <d@drobilla.net>2020-07-15 20:07:34 +0200
commit37976105b064cfca682b0a74ee99d42df734fcbc (patch)
tree86377eba7081abb8748b1870bac19334ba02bb5b
parent2ed87d01ff5427e917d1895592cd05c3dd45305c (diff)
downloadsratom-37976105b064cfca682b0a74ee99d42df734fcbc.tar.gz
sratom-37976105b064cfca682b0a74ee99d42df734fcbc.tar.bz2
sratom-37976105b064cfca682b0a74ee99d42df734fcbc.zip
Fix incorrect format specifier
-rw-r--r--src/sratom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sratom.c b/src/sratom.c
index e4a375d..0e61517 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -278,7 +278,7 @@ sratom_write(Sratom* sratom,
language = serd_node_from_string(
SERD_LITERAL, USTR(lang + prefix_len));
} else {
- fprintf(stderr, "Unknown language URID %d\n", lit->lang);
+ fprintf(stderr, "Unknown language URID %u\n", lit->lang);
}
}
} else if (type_urid == sratom->forge.URID) {