mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-03 20:05:37 +03:00
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…
x
Reference in New Issue
Block a user