mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-27 23:10:20 +02:00
Replaced C-Style cast with static_cast.
This commit is contained in:
parent
3729f334a1
commit
b27c87c9ed
@ -400,7 +400,7 @@ public:
|
||||
++m_current;
|
||||
fixed_trail_again = false;
|
||||
}
|
||||
if((std::size_t)(pe - m_current) < m_trail) {
|
||||
if(static_cast<std::size_t>(pe - m_current) < m_trail) {
|
||||
off = m_current - m_start;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user