Please, fix include/g++/bits/localefwd.h:399 warning

Vladimir A. Merzliakov wanderer@rsu.ru
Wed Feb 7 00:35:00 GMT 2001


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




More information about the Gcc-bugs mailing list