mirror of
https://github.com/boostorg/regex.git
synced 2025-07-20 07:42:07 +02:00
Trivial fix for signed/unsigned comparison
[SVN r11715]
This commit is contained in:
@ -733,7 +733,7 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
if((f & char_class_blank) && ((c == ' ') || (c == '\t')))
|
if((f & char_class_blank) && ((c == ' ') || (c == '\t')))
|
||||||
return true;
|
return true;
|
||||||
if((f & char_class_unicode) && (c > (size_type)(uchar_type)255))
|
if((f & char_class_unicode) && ((uchar_type)c > (uchar_type)255))
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user