mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
explicitly casts assignments with differing signedness references #218
This commit is contained in:
@@ -139,7 +139,7 @@ inline size_t response::consume(std::istream & s) {
|
||||
|
||||
while (s.good()) {
|
||||
s.getline(buf,istream_buffer);
|
||||
bytes_read = s.gcount();
|
||||
bytes_read = static_cast<size_t>(s.gcount());
|
||||
|
||||
if (s.fail() || s.eof()) {
|
||||
bytes_processed = this->consume(buf,bytes_read);
|
||||
|
||||
@@ -67,7 +67,7 @@ public:
|
||||
explicit hybi00(bool secure, bool server, msg_manager_ptr manager)
|
||||
: processor<config>(secure, server)
|
||||
, msg_hdr(0x00)
|
||||
, msg_ftr(0xff)
|
||||
, msg_ftr(static_cast<char>(0xff))
|
||||
, m_state(HEADER)
|
||||
, m_msg_manager(manager) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user