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:
parent
118671309d
commit
0d642aae31
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue