Fix warning about possible loss of value

This commit is contained in:
Dainis Jonitis 2015-07-27 10:37:12 +03:00
parent b750b17598
commit 5cc712ceeb

View File

@ -58,7 +58,7 @@ public:
return &m_data[1]; return &m_data[1];
} }
uint32_t size() const { uint32_t size() const {
return m_data.size() - 1; return static_cast<uint32_t>(m_data.size()) - 1;
} }
bool operator== (const ext& x) const { bool operator== (const ext& x) const {
return m_data == x.m_data; return m_data == x.m_data;