summaryrefslogtreecommitdiffstats
path: root/utils
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 /utils
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 'utils')
-rw-r--r--utils/lv2_inspect.c6
-rw-r--r--utils/lv2_list.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index 32c07dd..077aefe 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -84,7 +84,7 @@ print_plugin(SLV2Plugin* p)
printf("\tData URIs:\n");
SLV2Strings data_uris = slv2_plugin_get_data_uris(p);
- for (int i=0; i < slv2_strings_size(data_uris); ++i)
+ for (unsigned i=0; i < slv2_strings_size(data_uris); ++i)
printf("\t\t%s\n", slv2_strings_get_at(data_uris, i));
printf("\n\tLibrary URI: %s\n\n", slv2_plugin_get_library_uri(p));
@@ -100,13 +100,13 @@ print_plugin(SLV2Plugin* p)
printf("\tProperties:\n");
SLV2Strings v = slv2_plugin_get_properties(p);
- for (int i=0; i < slv2_strings_size(v); ++i)
+ for (unsigned i=0; i < slv2_strings_size(v); ++i)
printf("\t\t%s\n", slv2_strings_get_at(v, i));
slv2_strings_free(v);
printf("\tHints:\n");
v = slv2_plugin_get_hints(p);
- for (int i=0; i < slv2_strings_size(v); ++i)
+ for (unsigned i=0; i < slv2_strings_size(v); ++i)
printf("\t\t%s\n", slv2_strings_get_at(v, i));
slv2_strings_free(v);
diff --git a/utils/lv2_list.c b/utils/lv2_list.c
index 71cf34c..a1966fd 100644
--- a/utils/lv2_list.c
+++ b/utils/lv2_list.c
@@ -23,7 +23,7 @@
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));
}