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:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-09-12 19:05:36 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-09-12 19:05:36 +0300
commitd8c2994a7786537c6db997ae5dd575a949f92baa (patch)
tree73634ae5fd28247f1eb3b38a01bf989bbea27475 /example/ts_examples.cpp
parentefc3c6d35cf9b877bf16ba996f5d4e67b4be6354 (diff)
Fix all warnings when built as 32 bit. Hopefully fix ARM build issues on Travis too.
Diffstat (limited to 'example/ts_examples.cpp')
-rw-r--r--example/ts_examples.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ts_examples.cpp b/example/ts_examples.cpp
index 16c7c931..b93caf18 100644
--- a/example/ts_examples.cpp
+++ b/example/ts_examples.cpp
@@ -39,7 +39,7 @@ inline io_handle::buffers_type read_all(io_handle &h, io_handle::io_request<io_h
// Take copy of input buffers onto stack, and set output buffers to buffers supplied
auto *input_buffers_mem = reinterpret_cast<io_handle::buffer_type *>(alloca(reqs.buffers.size() * sizeof(io_handle::buffer_type)));
- auto *input_buffers_sizes = reinterpret_cast<io_handle::extent_type *>(alloca(reqs.buffers.size() * sizeof(io_handle::extent_type)));
+ auto *input_buffers_sizes = reinterpret_cast<io_handle::size_type *>(alloca(reqs.buffers.size() * sizeof(io_handle::size_type)));
io_handle::buffers_type output_buffers(reqs.buffers);
io_handle::io_request<io_handle::buffers_type> creq({input_buffers_mem, reqs.buffers.size()}, 0);
for(size_t n = 0; n < reqs.buffers.size(); n++)