From 96e8b19074fd34896b3f6441bab391cdd5d3f1f3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Apr 2011 03:39:04 +0000 Subject: Fix unit test. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3231 a436a847-0d15-0410-975c-d299462d15a1 --- test/lilv_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lilv_test.c b/test/lilv_test.c index 9a42631..300184c 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -738,7 +738,7 @@ test_port() LilvIter* sp_iter = lilv_scale_points_begin(points); const LilvScalePoint* sp0 = lilv_scale_points_get(points, sp_iter); TEST_ASSERT(sp0); - lilv_scale_points_next(points, sp_iter); + sp_iter = lilv_scale_points_next(points, sp_iter); const LilvScalePoint* sp1 = lilv_scale_points_get(points, sp_iter); TEST_ASSERT(sp1); -- cgit v1.2.1