Fix byte_stream::put_n

This commit is contained in:
Lee Clagett 2020-12-14 14:45:24 -05:00 committed by wowario
parent 8547473c83
commit 8088f8d894
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
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;
}