summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 03:24:33 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 03:24:33 +0000
commit090cf0c1961a90d9232e45a2ca2290161d807215 (patch)
treebc0ad859e1aa2b2d1e93efada34affa3fa231496 /src
parent635166dd28bbf3ea1935a5a78d7fb5689ee34a8a (diff)
downloadganv-090cf0c1961a90d9232e45a2ca2290161d807215.tar.gz
ganv-090cf0c1961a90d9232e45a2ca2290161d807215.tar.bz2
ganv-090cf0c1961a90d9232e45a2ca2290161d807215.zip
Fix more const-correctness violations.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5196 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/group.c b/src/group.c
index f15c9f7..8624a90 100644
--- a/src/group.c
+++ b/src/group.c
@@ -198,8 +198,8 @@ ganv_group_unmap(GanvItem* item)
static gint
item_layer_cmp(const void* a, const void* b, void* user_data)
{
- GanvItem* ia = (GanvItem*)a;
- GanvItem* ib = (GanvItem*)b;
+ const GanvItem* ia = (const GanvItem*)a;
+ const GanvItem* ib = (const GanvItem*)b;
if (ia->layer == ib->layer) {
// Same layer, order in a quasi-cascade
return (ia->x1 - ib->x1) + (ia->y1 - ib->y1);