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 bd926d9..10382c7 100644
--- a/src/world.c
+++ b/src/world.c
@@ -652,7 +652,7 @@ lilv_world_unload_file(LilvWorld* world, LilvNode* file)
{
ZixTreeIter* iter;
if (!zix_tree_find((ZixTree*)world->loaded_files, file, &iter)) {
- zix_tree_remove(world->loaded_files, iter);
+ zix_tree_remove((ZixTree*)world->loaded_files, iter);
return 0;
}
return 1;