This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[V3 PATCH] Fix for defect report libstdc++/1967


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] = "*";
      }
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]