_State __state = {};
size_t __n;
return __str_codecvt_out(__first, __last, __outstr, __cvt, __state, __n)
- && (__n == (__last - __first));
+ && (__n == size_t(__last - __first));
}
#ifdef _GLIBCXX_USE_CHAR8_T
if ((__nmatches == 1 && __matches_lengths[0] == __pos)
|| (__nmatches == 2 && (__matches_lengths[0] == __pos
|| __matches_lengths[1] == __pos)))
- __member = (__matches[0] >= __indexlen
- ? __matches[0] - __indexlen : __matches[0]);
+ __member = (__matches[0] >= (int)__indexlen
+ ? __matches[0] - (int)__indexlen : __matches[0]);
else
__err |= ios_base::failbit;
const __size_type __capacity = _M_string.capacity();
#if _GLIBCXX_USE_CXX11_ABI
- if ((this->epptr() - this->pbase()) < __capacity)
+ if (size_t(this->epptr() - this->pbase()) < __capacity)
{
// There is additional capacity in _M_string that can be used.
char_type* __base = const_cast<char_type*>(_M_string.data());
_Tp __y_lm = _Tp(0);
// Compute Y_l^m, l > m+1, upward recursion on l.
- for (int __ll = __m + 2; __ll <= __l; ++__ll)
+ for (unsigned int __ll = __m + 2; __ll <= __l; ++__ll)
{
const _Tp __rat1 = _Tp(__ll - __m) / _Tp(__ll + __m);
const _Tp __rat2 = _Tp(__ll - __m - 1) / _Tp(__ll + __m - 1);