diff options
-rw-r--r-- | slv2/pluginlist.h | 2 | ||||
-rw-r--r-- | src/pluginlist.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/slv2/pluginlist.h b/slv2/pluginlist.h index 535c214..ac2422b 100644 --- a/slv2/pluginlist.h +++ b/slv2/pluginlist.h @@ -116,7 +116,7 @@ slv2_list_load_bundle(SLV2List list, /** Get the number of plugins in the list. */ -unsigned long +size_t slv2_list_get_length(const SLV2List list); diff --git a/src/pluginlist.c b/src/pluginlist.c index e379c7a..45d71f9 100644 --- a/src/pluginlist.c +++ b/src/pluginlist.c @@ -55,7 +55,7 @@ slv2_list_load_all(SLV2List list) { assert(list != NULL); - const char* slv2_path = getenv("LV2_PATH"); + char* slv2_path = getenv("LV2_PATH"); if (slv2_path) { slv2_list_load_path(list, slv2_path); |