0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 08:58:20 +02: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;