aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-12-19 17:26:51 -0600
committerluigi1111 <luigi1111w@gmail.com>2020-12-19 17:26:51 -0600
commitee8d740cbaee242d008b446ddd4857c2f0fa43b9 (patch)
tree54a1f8a2ff68950940ef532b45d0218dfbf8a9f5 /contrib
parentMerge pull request #7144 (diff)
parentFix byte_stream::put_n (diff)
downloadmonero-ee8d740cbaee242d008b446ddd4857c2f0fa43b9.tar.xz
Merge pull request #7152
cf4461f Fix byte_stream::put_n (Lee Clagett)
Diffstat (limited to '')
-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 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;
}