From 1f0f2685bafb2313a40c852cca8f2e4de4f2c1df Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Dec 2013 02:39:54 +0000 Subject: Fix some const-correctness violations. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5194 a436a847-0d15-0410-975c-d299462d15a1 --- test/lilv_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lilv_test.c') diff --git a/test/lilv_test.c b/test/lilv_test.c index c4c05b1..1639be7 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -1154,9 +1154,9 @@ set_port_value(const char* port_symbol, uint32_t type) { if (!strcmp(port_symbol, "input")) { - in = *(float*)value; + in = *(const float*)value; } else if (!strcmp(port_symbol, "output")) { - out = *(float*)value; + out = *(const float*)value; } else { fprintf(stderr, "error: set_port_value for nonexistent port `%s'\n", port_symbol); -- cgit v1.2.1