diff options
Diffstat (limited to 'src/entropy/unix_procs/es_unix.cpp')
-rw-r--r-- | src/entropy/unix_procs/es_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/unix_procs/es_unix.cpp b/src/entropy/unix_procs/es_unix.cpp index 5756f93dd..8c6e097c7 100644 --- a/src/entropy/unix_procs/es_unix.cpp +++ b/src/entropy/unix_procs/es_unix.cpp @@ -106,7 +106,7 @@ void Unix_EntropySource::poll(Entropy_Accumulator& accum) u32bit got_this_loop = pipe.read(io_buffer, io_buffer.size()); got_from_src += got_this_loop; - accum.add(io_buffer.begin(), got_this_loop, .005); + accum.add(&io_buffer[0], got_this_loop, .005); } sources[j].working = (got_from_src >= MINIMAL_WORKING) ? true : false; |