regex: fix for previous slip up when fixing warning messages

[SVN r8972]
This commit is contained in:
John Maddock
2001-02-06 12:52:32 +00:00
parent 9f9f46f34b
commit bc4755e14f

View File

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