This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Please, fix include/g++/bits/localefwd.h:399 warning
- To: <gcc-bugs at gcc dot gnu dot org>
- Subject: Please, fix include/g++/bits/localefwd.h:399 warning
- From: "Vladimir A. Merzliakov" <wanderer at rsu dot ru>
- Date: Wed, 7 Feb 2001 11:35:12 +0300
Please, fix warinig in stdlib++ 3.0
--- gcc/include/g++/bits/localefwd.h Wed Feb 7 10:01:37 2001
+++ localefwd.h Wed Feb 7 11:20:34 2001
@@ -396,7 +396,7 @@
{
_M_impl = new _Impl(*__other._M_impl, 1);
_M_impl->_M_install_facet(&_Facet::id, __f);
- for (int __i = 0; __i < _S_num_categories; ++__i)
+ for (size_t __i = 0; __i < _S_num_categories; ++__i)
_M_impl->_M_names[__i] = "*";
}
Vladimir