diff options
Diffstat (limited to 'src/entropy')
-rw-r--r-- | src/entropy/entropy_src.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/entropy_src.h b/src/entropy/entropy_src.h index a1a53fafb..be1a16636 100644 --- a/src/entropy/entropy_src.h +++ b/src/entropy/entropy_src.h @@ -29,7 +29,7 @@ class Entropy_Accumulator @return cached I/O buffer for repeated polls */ MemoryRegion<byte>& get_io_buffer(u32bit size) - { io_buffer.create(size); return io_buffer; } + { io_buffer.resize(size); return io_buffer; } u32bit bits_collected() const { return static_cast<u32bit>(collected_bits); } |