From 88128ad8542d2fc95f019ccd8d1c899f2603fa5c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 26 Jul 2006 17:52:23 +0000 Subject: Fixed type mismatch git-svn-id: http://svn.drobilla.net/lad/libslv2@103 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/pluginlist.h | 2 +- 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); -- cgit v1.2.1