summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-18 00:26:53 +0000
committerDavid Robillard <d@drobilla.net>2006-07-18 00:26:53 +0000
commitc7153b1a3d607108bab6cd8d6719977ffb213092 (patch)
tree055842a6aba4ae37cfe3ad0c01cbb127e28a3263 /src
parent0e186578b14980d79a4f4df512ec90acc1f15f65 (diff)
downloadlilv-c7153b1a3d607108bab6cd8d6719977ffb213092.tar.gz
lilv-c7153b1a3d607108bab6cd8d6719977ffb213092.tar.bz2
lilv-c7153b1a3d607108bab6cd8d6719977ffb213092.zip
Stricter warning cleanliness
git-svn-id: http://svn.drobilla.net/lad/libslv2@91 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 1058b8d..4a3ea47 100644
--- a/src/util.c
+++ b/src/util.c
@@ -67,8 +67,8 @@ vstrjoin(const uchar* first, va_list args_list)
// FIXME: this is horribly, awfully, disgracefully slow.
// so I'm lazy.
- uchar* arg = NULL;
- uchar* result = ustrdup(first);
+ const uchar* arg = NULL;
+ uchar* result = ustrdup(first);
while ((arg = va_arg(args_list, const uchar*)) != NULL)
ustrappend(&result, arg);