Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/afio/v2.0/detail/impl/windows/async_file_handle.ipp')
-rw-r--r--include/afio/v2.0/detail/impl/windows/async_file_handle.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afio/v2.0/detail/impl/windows/async_file_handle.ipp b/include/afio/v2.0/detail/impl/windows/async_file_handle.ipp
index 6b8b5de7..55f4ddf7 100644
--- a/include/afio/v2.0/detail/impl/windows/async_file_handle.ipp
+++ b/include/afio/v2.0/detail/impl/windows/async_file_handle.ipp
@@ -186,7 +186,7 @@ template <class BuffersType, class IORoutine> result<async_file_handle::io_state
assert((out[n].len & 511) == 0);
}
#endif
- if(!ioroutine(_v.h, const_cast<char *>(out[n].data), static_cast<DWORD>(out[n].len), ol, handle_completion::Do))
+ if(!ioroutine(_v.h, const_cast<byte *>(out[n].data), static_cast<DWORD>(out[n].len), ol, handle_completion::Do))
{
--state->items_to_go;
state->result.write = {GetLastError(), std::system_category()};