mirror of
https://github.com/monero-project/monero.git
synced 2025-08-04 00:24:14 -04:00
Fix byte_stream::put_n
This commit is contained in:
parent
7a9ba3f154
commit
cf4461f40b
2 changed files with 18 additions and 1 deletions
|
@ -188,7 +188,7 @@ namespace epee
|
|||
void put_n(const std::uint8_t ch, const std::size_t count)
|
||||
{
|
||||
check(count);
|
||||
std::memset(tellp(), count, ch);
|
||||
std::memset(tellp(), ch, count);
|
||||
next_write_ += count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue