summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-18 21:12:59 +0000
committerDavid Robillard <d@drobilla.net>2007-02-18 21:12:59 +0000
commitec3e2125f960aa3de9da474d175bab353745748b (patch)
tree64d5f7e53cc47cca38bf41b6d1f69bc62dafac7f /hosts
parentf340d22e82760166d24a037d8466501217b06a3e (diff)
downloadlilv-ec3e2125f960aa3de9da474d175bab353745748b.tar.gz
lilv-ec3e2125f960aa3de9da474d175bab353745748b.tar.bz2
lilv-ec3e2125f960aa3de9da474d175bab353745748b.zip
Fixed index types of Strings and Plugins for consistency.
git-svn-id: http://svn.drobilla.net/lad/slv2@315 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'hosts')
-rw-r--r--hosts/lv2_jack_host.c2
-rw-r--r--hosts/lv2_simple_jack_host.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c
index 30ce919..6eb682b 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -309,7 +309,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
void
list_plugins(SLV2Plugins list)
{
- for (size_t i=0; i < slv2_plugins_size(list); ++i) {
+ for (unsigned i=0; i < slv2_plugins_size(list); ++i) {
const SLV2Plugin* const p = slv2_plugins_get_at(list, i);
printf("%s\n", slv2_plugin_get_uri(p));
}
diff --git a/hosts/lv2_simple_jack_host.c b/hosts/lv2_simple_jack_host.c
index e6eeaad..6221d2f 100644
--- a/hosts/lv2_simple_jack_host.c
+++ b/hosts/lv2_simple_jack_host.c
@@ -214,7 +214,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
void
list_plugins(SLV2Plugins list)
{
- for (size_t i=0; i < slv2_plugins_size(list); ++i) {
+ for (unsigned i=0; i < slv2_plugins_size(list); ++i) {
const SLV2Plugin* const p = slv2_plugins_get_at(list, i);
printf("%s\n", slv2_plugin_get_uri(p));
}