diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-05-31 14:57:32 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-05-31 14:56:17 +0200 |
commit | ffff0d04425a616c14fc4a562e8ef93d286705f8 (patch) | |
tree | 1fe09f283467aa165a518290a90213b11b4a74ef /src/net.cpp | |
parent | 8c6df2b4ca1da716e2c834f0c3d18345c73c8c2c (diff) | |
download | bitcoin-ffff0d04425a616c14fc4a562e8ef93d286705f8.tar.xz |
refactor: Switch serialize to uint8_t (1/n)
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 1b6f04dead..52936508ba 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -3048,7 +3048,7 @@ void CaptureMessage(const CAddress& addr, const std::string& msg_type, const Spa ser_writedata64(f, now.count()); f.write(msg_type.data(), msg_type.length()); for (auto i = msg_type.length(); i < CMessageHeader::COMMAND_SIZE; ++i) { - f << '\0'; + f << uint8_t{'\0'}; } uint32_t size = data.size(); ser_writedata32(f, size); |