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

@ -50,7 +50,7 @@ public:
uint32_t getSize() const override
{
return sizeof(uint32_t) + codec.size() + sizeof(uint32_t) + payloadSize;
return static_cast<uint32_t>(sizeof(uint32_t) + codec.size() + sizeof(uint32_t) + payloadSize);
}
uint32_t payloadSize;