summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-02 19:47:48 +0000
committerDavid Robillard <d@drobilla.net>2012-03-02 19:47:48 +0000
commitccca9167f350ab62e0b8adb529a238f61a0ec499 (patch)
treee64a446318d7e3728159bef22509d9692f480c3e /test
parentfd8ecd85b21e104e669017a04076a60162420a53 (diff)
downloadlilv-ccca9167f350ab62e0b8adb529a238f61a0ec499.tar.gz
lilv-ccca9167f350ab62e0b8adb529a238f61a0ec499.tar.bz2
lilv-ccca9167f350ab62e0b8adb529a238f61a0ec499.zip
Fix too-small float arrays.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4011 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 7b9c175..43769a6 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -584,9 +584,9 @@ test_plugin(void)
free(manifest_uri);
free(data_uri);
- float mins[1];
- float maxs[1];
- float defs[1];
+ float mins[3];
+ float maxs[3];
+ float defs[3];
lilv_plugin_get_port_ranges_float(plug, mins, maxs, defs);
TEST_ASSERT(mins[0] == -1.0f);
TEST_ASSERT(maxs[0] == 1.0f);