Skip to content
Snippets Groups Projects
Commit 9bd19443 authored by Jonathan Wakely's avatar Jonathan Wakely
Browse files

libstdc++: Fix a -Wsign-compare warning in std::list

libstdc++-v3/ChangeLog:

	* include/bits/list.tcc (list::sort(Cmp)): Fix -Wsign-compare
	warning for loop condition.
parent 798b1f04
No related branches found
No related tags found
Loading
......@@ -654,7 +654,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
{
// Move all nodes back into *this.
__carry._M_put_all(end()._M_node);
for (int __i = 0; __i < sizeof(__tmp)/sizeof(__tmp[0]); ++__i)
for (size_t __i = 0; __i < sizeof(__tmp)/sizeof(__tmp[0]); ++__i)
__tmp[__i]._M_put_all(end()._M_node);
__throw_exception_again;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment