summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/uri_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/uri_table.h b/utils/uri_table.h
index 6a27c61..880d560 100644
--- a/utils/uri_table.h
+++ b/utils/uri_table.h
@@ -54,7 +54,7 @@ uri_table_map(LV2_URID_Map_Handle handle,
const size_t len = strlen(uri);
table->uris = (char**)realloc(table->uris, ++table->n_uris * sizeof(char*));
- table->uris[table->n_uris - 1] = malloc(len + 1);
+ table->uris[table->n_uris - 1] = (char*)malloc(len + 1);
memcpy(table->uris[table->n_uris - 1], uri, len + 1);
return table->n_uris;
}