summaryrefslogtreecommitdiffstats
path: root/examples/hosts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-26 18:10:09 +0000
committerDavid Robillard <d@drobilla.net>2006-07-26 18:10:09 +0000
commita15486a0151251ddc7805604a08580fa8279efaa (patch)
tree52101a88ef0f4fc3a63f6a542ca8b0d58b33f87d /examples/hosts
parent88128ad8542d2fc95f019ccd8d1c899f2603fa5c (diff)
downloadlilv-a15486a0151251ddc7805604a08580fa8279efaa.tar.gz
lilv-a15486a0151251ddc7805604a08580fa8279efaa.tar.bz2
lilv-a15486a0151251ddc7805604a08580fa8279efaa.zip
Fixed another type mismatch
git-svn-id: http://svn.drobilla.net/lad/libslv2@104 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'examples/hosts')
-rw-r--r--examples/hosts/test_host.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/hosts/test_host.c b/examples/hosts/test_host.c
index 97df831..c1c96ed 100644
--- a/examples/hosts/test_host.c
+++ b/examples/hosts/test_host.c
@@ -73,7 +73,6 @@ create_port(SLV2Plugin* plugin,
create_control_output(port_index);
break;
case SLV2_AUDIO_RATE_INPUT:
-
create_audio_input(port_index);
break;
case SLV2_AUDIO_RATE_OUTPUT:
@@ -138,9 +137,9 @@ main()
const char* property = "a";
prop = slv2_port_get_property(p, i, property);
if (prop)
- printf("Port %ld %s = %s\n", i, property, prop->values[0]);
+ printf("Port %u %s = %s\n", i, property, prop->values[0]);
else
- printf("No port %ld %s.\n", i, property);
+ printf("No port %u %s.\n", i, property);
free(prop);
}
printf("\n");