0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-01 19:22:53 +01:00

ircd::aio: More appropriate cast here.

This commit is contained in:
Jason Volk 2018-05-31 06:14:39 -07:00
parent 118671309d
commit 0d642aae31

View file

@ -310,7 +310,7 @@ ircd::fs::read__aio(const fd &fd,
const const_buffer view
{
reinterpret_cast<const char *>(data(buf)), bytes
const_cast<const char *>(data(buf)), bytes
};
return view;