mirror of
https://github.com/monero-project/monero.git
synced 2025-07-28 05:05:30 -04:00
Fix byte_stream::put_n
This commit is contained in:
parent
ebdc617408
commit
4978f69d7a
2 changed files with 18 additions and 1 deletions
|
@ -175,7 +175,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