aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-12-19 17:26:13 -0600
committerluigi1111 <luigi1111w@gmail.com>2020-12-19 17:26:13 -0600
commit3bd6ed94d7a950cd7723efcd453b32d6ba8f5e3a (patch)
tree4977a0e259e93cf4949eeb07afae53f7947efbd9 /contrib/epee
parentMerge pull request #7143 (diff)
parentFix byte_stream::put_n (diff)
downloadmonero-3bd6ed94d7a950cd7723efcd453b32d6ba8f5e3a.tar.xz
Merge pull request #7151
4978f69 Fix byte_stream::put_n (Lee Clagett)
Diffstat (limited to 'contrib/epee')
-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;
}