Fix warnings on Windows

This commit is contained in:
badaix 2020-04-10 12:19:27 +02:00
parent 30753f9f61
commit ade0ee7be3
13 changed files with 67 additions and 63 deletions

View file

@ -47,7 +47,7 @@ public:
uint32_t getSize() const override
{
return sizeof(uint32_t) + msg.dump().size();
return static_cast<uint32_t>(sizeof(uint32_t) + msg.dump().size());
}
json msg;
@ -74,7 +74,7 @@ protected:
}
}
};
}
} // namespace msg
#endif