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

@ -231,7 +231,7 @@ protected:
void writeVal(std::ostream& stream, const std::string& val) const
{
uint32_t size = val.size();
uint32_t size = static_cast<uint32_t>(val.size());
writeVal(stream, val.c_str(), size);
}