Trivial fix for signed/unsigned comparison

[SVN r11715]
This commit is contained in:
John Maddock
2001-11-16 12:24:01 +00:00
parent a7984bb149
commit 6cc5cf41d5

View File

@ -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;
} }