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:
Rich Felker 2011-09-16 12:08:20 -04:00
parent d431d4546e
commit 144c951b0d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}