Skip to content

Commit

Permalink
Merge pull request #323 from jonitis/fix_compilation_warning
Browse files Browse the repository at this point in the history
Fix compilation warnings about possible loss of data
  • Loading branch information
redboltz committed Jul 31, 2015
2 parents 2a7d997 + 14ec300 commit 7e6a498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/msgpack/adaptor/ext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ext {
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;
Expand Down

0 comments on commit 7e6a498

Please sign in to comment.