summaryrefslogtreecommitdiffstats
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui.c b/src/ui.c
index 824ed15..5d2f066 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -30,7 +30,7 @@ lilv_ui_new(LilvWorld* world,
assert(type_uri);
assert(binary_uri);
- LilvUI* ui = malloc(sizeof(struct LilvUIImpl));
+ LilvUI* ui = (LilvUI*)malloc(sizeof(LilvUI));
ui->world = world;
ui->uri = uri;
ui->binary_uri = binary_uri;
@@ -43,7 +43,7 @@ lilv_ui_new(LilvWorld* world,
free(bundle);
ui->classes = lilv_nodes_new();
- zix_tree_insert(ui->classes, type_uri, NULL);
+ zix_tree_insert((ZixTree*)ui->classes, type_uri, NULL);
return ui;
}