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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue