aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/byte_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/epee/include/byte_stream.h')
-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;
}