Fix byte_stream::put_n

This commit is contained in:
Lee Clagett 2020-12-14 14:45:24 -05:00
parent ebdc617408
commit 4978f69d7a
2 changed files with 18 additions and 1 deletions

View file

@ -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;
}