]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix typo in __size_to_integer(__GLIBCXX_TYPE_INT_N_3)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 4 Jul 2025 20:33:05 +0000 (21:33 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 4 Jul 2025 23:07:02 +0000 (00:07 +0100)
commit106591f79a3beaed226400fbdc568e95229dc936
treea64400608a296161b0626682e6fb6ac39e46fc62
parenteda5a15909c315f0a4a7e76ad083f5f16cf1aef9
libstdc++: Fix typo in __size_to_integer(__GLIBCXX_TYPE_INT_N_3)

The overload taking a signed type was returning unsigned and the
overload taking an unsigned type was returning signed.

libstdc++-v3/ChangeLog:

* include/bits/stl_algobase.h (__size_to_integer): Move
misplaced unsigned keyword on __size_to_integer overloads for
__GLIBCXX_TYPE_INT_N_3 integer type.
libstdc++-v3/include/bits/stl_algobase.h