From cec00731f59893ba0851bc5eb2187037c7b21dbf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Jul 2020 17:22:07 +0200 Subject: Fix conversion warnings --- src/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.c') diff --git a/src/world.c b/src/world.c index cf859eb..fc4fc7e 100644 --- a/src/world.c +++ b/src/world.c @@ -345,7 +345,7 @@ const uint8_t* lilv_world_blank_node_prefix(LilvWorld* world) { static char str[32]; - snprintf(str, sizeof(str), "%d", world->n_read_files++); + snprintf(str, sizeof(str), "%u", world->n_read_files++); return (const uint8_t*)str; } -- cgit v1.2.1