summaryrefslogtreecommitdiffstats
path: root/src/port.c
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 /src/port.c
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 'src/port.c')
-rw-r--r--src/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port.c b/src/port.c
index 478a070..c6d0c10 100644
--- a/src/port.c
+++ b/src/port.c
@@ -60,7 +60,7 @@ slv2_port_get_class(SLV2Plugin* p,
int io = -1; // 0 = in, 1 = out
enum { UNKNOWN, AUDIO, CONTROL, MIDI } type = UNKNOWN;
- for (int i=0; i < slv2_strings_size(class); ++i) {
+ for (unsigned i=0; i < slv2_strings_size(class); ++i) {
char* value = slv2_strings_get_at(class, i);
if (!strcmp(value, "http://lv2plug.in/ontology#InputPort"))
io = 0;