Fix integer types and signedness:

Fixes https://svn.boost.org/trac10/ticket/13034
This commit is contained in:
jzmaddock
2017-07-31 18:51:25 +01:00
parent ab399c9159
commit d97bcfb5dd
3 changed files with 7 additions and 7 deletions

View File

@ -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)