summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c2
1 files changed, 1 insertions, 1 deletions
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;
}