mirror of git://git.musl-libc.org/musl
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.
This commit is contained in:
parent
d431d4546e
commit
144c951b0d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue