diff options
author | David Robillard <d@drobilla.net> | 2006-07-26 17:52:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-26 17:52:23 +0000 |
commit | 88128ad8542d2fc95f019ccd8d1c899f2603fa5c (patch) | |
tree | 7e0cc2292211de1d9806acabe7b7217ba8594357 | |
parent | a9d4bccde03dd6d29338366bf6900b7094e63ad4 (diff) | |
download | lilv-88128ad8542d2fc95f019ccd8d1c899f2603fa5c.tar.gz lilv-88128ad8542d2fc95f019ccd8d1c899f2603fa5c.tar.bz2 lilv-88128ad8542d2fc95f019ccd8d1c899f2603fa5c.zip |
Fixed type mismatch
git-svn-id: http://svn.drobilla.net/lad/libslv2@103 a436a847-0d15-0410-975c-d299462d15a1
-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); |