summaryrefslogtreecommitdiffstats
path: root/test/lilv_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 02:39:54 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 02:39:54 +0000
commit1f0f2685bafb2313a40c852cca8f2e4de4f2c1df (patch)
tree0faf3fda9d43bb7aa70cc00cab1f55493a2d0dce /test/lilv_test.c
parent890f81e2f51ef47fe39e940ae0a422dde9b25574 (diff)
downloadlilv-1f0f2685bafb2313a40c852cca8f2e4de4f2c1df.tar.gz
lilv-1f0f2685bafb2313a40c852cca8f2e4de4f2c1df.tar.bz2
lilv-1f0f2685bafb2313a40c852cca8f2e4de4f2c1df.zip
Fix some const-correctness violations.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5194 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/lilv_test.c')
-rw-r--r--test/lilv_test.c4
1 files changed, 2 insertions, 2 deletions
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);