Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 6c260dd7e17e9a72958bd7e7e743af50 > files > 2

lilv-0.5.0-3.fc16.src.rpm

diff -Nurp lilv-0.5.0.orig/test/lilv_test.c lilv-0.5.0/test/lilv_test.c
--- lilv-0.5.0.orig/test/lilv_test.c	2011-09-29 04:26:23.000000000 +0200
+++ lilv-0.5.0/test/lilv_test.c	2012-03-02 23:58:09.546071126 +0100
@@ -524,9 +524,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);