From ec3e2125f960aa3de9da474d175bab353745748b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Feb 2007 21:12:59 +0000 Subject: Fixed index types of Strings and Plugins for consistency. git-svn-id: http://svn.drobilla.net/lad/slv2@315 a436a847-0d15-0410-975c-d299462d15a1 --- utils/lv2_inspect.c | 6 +++--- utils/lv2_list.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'utils') 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)); } -- cgit v1.2.1