summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
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));
}