Replaced C-Style cast with static_cast.

This commit is contained in:
Takatoshi Kondo 2014-08-03 16:38:58 +09:00
parent 3729f334a1
commit b27c87c9ed

View File

@ -400,7 +400,7 @@ public:
++m_current; ++m_current;
fixed_trail_again = false; 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; off = m_current - m_start;
return 0; return 0;
} }