regex: some fixes for level 4 warnings under VC6

[SVN r8942]
This commit is contained in:
John Maddock
2001-02-05 12:48:09 +00:00
parent dd2dbfacbb
commit 9f9f46f34b
4 changed files with 9 additions and 7 deletions

View File

@ -311,7 +311,7 @@ void expand_escapes(string_type& s)
s[pos] = 0;
}
else
s.insert(s.begin() + pos, val);
s.insert(s.begin() + pos, (char)val);
i = pos;
}
else