diff options
author | Lee Clagett <code@leeclagett.com> | 2020-12-14 14:45:24 -0500 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2020-12-14 16:20:51 +0000 |
commit | cf4461f40b92f300a3b5e1bea6c8065515939297 (patch) | |
tree | f0c28aa6975daef44163d4df2837db0cfc821ec3 /contrib/epee/include/byte_stream.h | |
parent | Merge pull request #7122 (diff) | |
download | monero-cf4461f40b92f300a3b5e1bea6c8065515939297.tar.xz |
Fix byte_stream::put_n
Diffstat (limited to '')
-rw-r--r-- | contrib/epee/include/byte_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/byte_stream.h b/contrib/epee/include/byte_stream.h index 42a9e1dd9..8e25c6650 100644 --- a/contrib/epee/include/byte_stream.h +++ b/contrib/epee/include/byte_stream.h @@ -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; } |