Fix some compiler warnings by using "int" consistently for hash values.

[SVN r66072]
This commit is contained in:
John Maddock
2010-10-18 12:07:14 +00:00
parent 29088ce346
commit 680588f638
2 changed files with 7 additions and 7 deletions

View File

@ -811,7 +811,7 @@ void basic_regex_creator<charT, traits>::fixup_recursions(re_syntax_base* state)
// There may be more than one capture group with this hash, just do what Perl
// does and recurse to the leftmost:
//
idx = m_pdata->get_id(idx);
idx = m_pdata->get_id(static_cast<int>(idx));
}
while(p)
{