summaryrefslogtreecommitdiff
path: root/src/queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue.c')
-rw-r--r--src/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.c b/src/queue.c
index 1c31157..80b3342 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -110,7 +110,7 @@ void queue_del(struct queue *b, void *data)
void queue_iterate(struct queue *b,
const void *data,
- int (*iterate)(void *data1, void *data2))
+ int (*iterate)(void *data1, const void *data2))
{
struct list_head *i, *tmp;
struct queue_node *n;