mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-26 22:35:39 +02:00
Fix warning about possible loss of value
This commit is contained in:
parent
b750b17598
commit
5cc712ceeb
@ -58,7 +58,7 @@ public:
|
||||
return &m_data[1];
|
||||
}
|
||||
uint32_t size() const {
|
||||
return m_data.size() - 1;
|
||||
return static_cast<uint32_t>(m_data.size()) - 1;
|
||||
}
|
||||
bool operator== (const ext& x) const {
|
||||
return m_data == x.m_data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user