Suppress a few warnings.

[SVN r59275]
This commit is contained in:
John Maddock
2010-01-27 13:17:51 +00:00
parent e1bd7c7a9b
commit c8e56504d9
3 changed files with 5 additions and 5 deletions

View File

@ -457,7 +457,7 @@ public:
void BOOST_REGEX_CALL set_second(BidiIterator i, size_type pos, bool m = true, bool escape_k = false)
{
if(pos)
m_last_closed_paren = pos;
m_last_closed_paren = static_cast<int>(pos);
pos += 2;
BOOST_ASSERT(m_subs.size() > pos);
m_subs[pos].second = i;