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

@ -804,7 +804,7 @@ void basic_regex_creator<charT, traits>::fixup_recursions(re_syntax_base* state)
{
bool ok = false;
re_syntax_base* p = base;
int id = static_cast<re_jump*>(state)->alt.i;
std::ptrdiff_t id = static_cast<re_jump*>(state)->alt.i;
if(id > 10000)
id = m_pdata->get_id(id);
while(p)