Boost C++ Libraries: Ticket #8748: Warning: implicit conversion loses integer precision https://svn.boost.org/trac10/ticket/8748 <p> Trivial - Full error message: </p> <pre class="wiki">boost/multiprecision/cpp_int.hpp:1614:23: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned n = result.find_first_not_of('0'); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </pre><p> produced by clang (Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)) from svn <a class="missing ticket">#84915</a>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8748 Trac 1.4.3 Jan Bouwer <JBouwer@…> Sun, 30 Jun 2013 12:40:51 GMT attachment set https://svn.boost.org/trac10/ticket/8748 https://svn.boost.org/trac10/ticket/8748 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_multiprecision_cpp_int_warning.patch</span> </li> </ul> <p> Patch suggestion </p> Ticket John Maddock Mon, 01 Jul 2013 15:47:12 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8748#comment:1 https://svn.boost.org/trac10/ticket/8748#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84922" title="Change to use std::string::size_type rather than unsigned. Fixes #8748.">[84922]</a>) Change to use std::string::size_type rather than unsigned. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8748" title="#8748: Bugs: Warning: implicit conversion loses integer precision (closed: fixed)">#8748</a>. </p> Ticket