From ccca9167f350ab62e0b8adb529a238f61a0ec499 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Mar 2012 19:47:48 +0000 Subject: Fix too-small float arrays. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4011 a436a847-0d15-0410-975c-d299462d15a1 --- test/lilv_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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); -- cgit v1.2.1