about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-16 12:08:20 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-16 12:08:20 -0400
commit144c951b0df6be51a67c9f4d5d3626c22a947f16 (patch)
tree098e78208a06c588fa260acd4d40d83e8d0ef136
parentd431d4546e5f028646592533d2fa2a53284bc2e4 (diff)
downloadmusl-144c951b0df6be51a67c9f4d5d3626c22a947f16.tar.gz
musl-144c951b0df6be51a67c9f4d5d3626c22a947f16.tar.xz
musl-144c951b0df6be51a67c9f4d5d3626c22a947f16.zip
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.
-rw-r--r--src/aio/lio_listio.c2
1 files changed, 1 insertions, 1 deletions
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;
 	}
 }