提交 144c951b 编写于 作者: R Rich Felker

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.
上级 d431d454
......@@ -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;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册