aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2020-12-14 14:45:24 -0500
committerLee Clagett <code@leeclagett.com>2020-12-14 14:45:24 -0500
commit4978f69d7afa9511702419ea0b919a3d1a30bd92 (patch)
tree3952440e05279d22b77f59cf1a77c10d187fa867 /contrib
parentMerge pull request #7102 (diff)
downloadmonero-4978f69d7afa9511702419ea0b919a3d1a30bd92.tar.xz
Fix byte_stream::put_n
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/byte_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/byte_stream.h b/contrib/epee/include/byte_stream.h
index 30abd050d..93f9ac85c 100644
--- a/contrib/epee/include/byte_stream.h
+++ b/contrib/epee/include/byte_stream.h
@@ -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;
}