mirror of
https://github.com/boostorg/regex.git
synced 2025-07-05 16:46:31 +02:00
Added casts to (unsigned char) to suppress warnings from picky compilers.
Changed array initialisation to take account of it's true size (bug fix). [SVN r19087]
This commit is contained in:
@ -302,7 +302,7 @@ void BOOST_REGEX_CALL w32_traits_base::do_init()
|
||||
{
|
||||
class_map[i] &= char_class_win;
|
||||
}
|
||||
class_map['_'] |= char_class_underscore;
|
||||
class_map[(unsigned char)'_'] |= char_class_underscore;
|
||||
LCMapStringA(GetUserDefaultLCID(), LCMAP_LOWERCASE, buf, map_size, lower_case_map, map_size);
|
||||
//
|
||||
// update our collating elements:
|
||||
|
Reference in New Issue
Block a user