forked from boostorg/regex
Fix integer types and signedness:
Fixes https://svn.boost.org/trac10/ticket/13034
This commit is contained in:
@ -122,7 +122,7 @@ inline int string_compare(const Seq& s, const C* p)
|
||||
{
|
||||
++i;
|
||||
}
|
||||
return (i == s.size()) ? -p[i] : s[i] - p[i];
|
||||
return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i];
|
||||
}
|
||||
# define STR_COMP(s,p) string_compare(s,p)
|
||||
|
||||
|
Reference in New Issue
Block a user