This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[V3 PATCH] Fix for defect report libstdc++/1967
- To: bumgard at roguewave dot com, libstdc++ at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org
- Subject: [V3 PATCH] Fix for defect report libstdc++/1967
- From: bumgard at roguewave dot com
- Date: 15 Feb 2001 00:26:51 -0000
Eliminates another one of those warnings for those of us striving to
get completely clean compiles...
2001-02-13 Greg Bumgardner <bumgard@roguewave.com>
* libstdc++-v3/include/bits/localefwd.h: Changed int counter type
to size_t.
Index: gcc/libstdc++-v3/include/bits/localefwd.h
diff -c gcc/libstdc++-v3/include/bits/localefwd.h:1.1.1.1 gcc/libstdc++-v3/include/bits/localefwd.h:1.1.1.1.18.1
*** gcc/libstdc++-v3/include/bits/localefwd.h:1.1.1.1 Tue Feb 13 00:20:42 2001
--- gcc/libstdc++-v3/include/bits/localefwd.h Tue Feb 13 12:50:11 2001
***************
*** 396,402 ****
{
_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)
_M_impl->_M_names[__i] = "*";
}
--- 396,402 ----
{
_M_impl = new _Impl(*__other._M_impl, 1);
_M_impl->_M_install_facet(&_Facet::id, __f);
! for (size_t __i = 0; __i < _S_num_categories; ++__i)
_M_impl->_M_names[__i] = "*";
}