Avoid -Wconversion warnings when -Wsystem-headers is used
authorJonathan Wakely <jwakely@redhat.com>
Fri, 22 Mar 2019 16:45:48 +0000 (16:45 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 22 Mar 2019 16:45:48 +0000 (16:45 +0000)
commiteca5f9254bbb06364a0fc91fdf7bde820bd8d225
tree7765e58343fb2fee8fe484383a97fbc3000d54b1
parent5c3703c552d12e7e62febf4fe5deb837a1305f78
Avoid -Wconversion warnings when -Wsystem-headers is used

* include/bits/stl_algobase.h (__lg): Do arithmetic on type int to
avoid -Wconversion warnings.

From-SVN: r269876
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h