suppressed a potential narrow conversion warning described in ticket #3365

[SVN r75643]
This commit is contained in:
Joaquín M López Muñoz 2011-11-24 08:07:35 +00:00
parent 867a0fb9c9
commit 2ef40ef45a
2 changed files with 14 additions and 3 deletions

View File

@ -31,6 +31,7 @@ Acknowledgements
<h2>Contents</h2> <h2>Contents</h2>
<ul> <ul>
<li><a href="#boost_1_49">Boost 1.49 release</a></li>
<li><a href="#boost_1_48">Boost 1.48 release</a></li> <li><a href="#boost_1_48">Boost 1.48 release</a></li>
<li><a href="#boost_1_47">Boost 1.47 release</a></li> <li><a href="#boost_1_47">Boost 1.47 release</a></li>
<li><a href="#boost_1_44">Boost 1.44 release</a></li> <li><a href="#boost_1_44">Boost 1.44 release</a></li>
@ -46,6 +47,16 @@ Acknowledgements
<li><a href="#boost_1_33">Boost 1.33 release</a></li> <li><a href="#boost_1_33">Boost 1.33 release</a></li>
</ul> </ul>
<h2><a name="boost_1_49">Boost 1.49 release</a></h2>
<p>
<ul>
<li>Suppressed a potential narrow conversion warning described in
ticket <a href="https://svn.boost.org/trac/boost/ticket/3365">#3365</a>.
</li>
</ul>
</p>
<h2><a name="boost_1_48">Boost 1.48 release</a></h2> <h2><a name="boost_1_48">Boost 1.48 release</a></h2>
<p> <p>
@ -348,7 +359,7 @@ Acknowledgements
<br> <br>
<p>Revised August 3rd 2011</p> <p>Revised November 24th 2011</p>
<p>&copy; Copyright 2003-2011 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;oz. <p>&copy; Copyright 2003-2011 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;oz.
Distributed under the Boost Software Distributed under the Boost Software

View File

@ -1,6 +1,6 @@
/* Multiply indexed container. /* Multiply indexed container.
* *
* Copyright 2003-2010 Joaquin M Lopez Munoz. * Copyright 2003-2011 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0. * Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at * (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt) * http://www.boost.org/LICENSE_1_0.txt)
@ -670,7 +670,7 @@ BOOST_MULTI_INDEX_PROTECTED_IF_MEMBER_TEMPLATE_FRIENDS:
if(version<1){ if(version<1){
std::size_t sz; std::size_t sz;
ar>>serialization::make_nvp("count",sz); ar>>serialization::make_nvp("count",sz);
s=sz; s=static_cast<serialization::collection_size_type>(sz);
} }
else{ else{
ar>>serialization::make_nvp("count",s); ar>>serialization::make_nvp("count",s);