From 144c951b0df6be51a67c9f4d5d3626c22a947f16 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 16 Sep 2011 12:08:20 -0400 Subject: [PATCH] fix idiotic const-correctness error in lio_listio i blame this one on posix for using hideous const-qualified double pointers which are unusable without hideous casts. --- src/aio/lio_listio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aio/lio_listio.c b/src/aio/lio_listio.c index 8865029a..8c851ca3 100644 --- a/src/aio/lio_listio.c +++ b/src/aio/lio_listio.c @@ -30,7 +30,7 @@ static int lio_wait(struct lio_state *st) } return 0; } - if (aio_suspend(cbs, cnt, 0)) + if (aio_suspend((void *)cbs, cnt, 0)) return -1; } } -- 2.25.1