libstdc++: Fix -Wsign-compare warnings in headers
authorJonathan Wakely <jwakely@redhat.com>
Tue, 27 Oct 2020 16:32:53 +0000 (16:32 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 27 Oct 2020 16:32:53 +0000 (16:32 +0000)
commit2232b6136822cc44d835f2b788e8d2d77b898878
tree560ac37621e90e166a797d4a2847c5f57f2982bf
parentf6b710fc6f93db3ce2fda08e025c3badac7996b0
libstdc++: Fix -Wsign-compare warnings in headers

libstdc++-v3/ChangeLog:

* include/bits/locale_conv.h (__str_codecvt_out_all):
Add cast to compare operands of the same signedness.
* include/bits/locale_facets_nonio.tcc
(time_get::_M_extract_wday_or_month): Likewise.
* include/bits/sstream.tcc (basic_stringbuf::overflow):
Likewise.
* include/tr1/legendre_function.tcc (__sph_legendre): Use
unsigned for loop variable.
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/include/bits/locale_facets_nonio.tcc
libstdc++-v3/include/bits/sstream.tcc
libstdc++-v3/include/tr1/legendre_function.tcc