Boost C++ Libraries: Ticket #3562: warning in BGL https://svn.boost.org/trac10/ticket/3562 <p> 1&gt;d:\development\release-boost\distribution\boost_1_40_0\boost\graph\depth_first_search.hpp(200) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data 1&gt; d:\development\release-boost\distribution\boost_1_40_0\boost\graph\depth_first_search.hpp(301) : see reference to function template instantiation 'void boost::depth_first_search&lt;<a class="missing wiki">VertexListGraph</a>,const Arg,boost::shared_array_property_map&lt;T,<a class="missing wiki">IndexMap</a>&gt;&gt;(const <a class="missing wiki">VertexListGraph</a> &amp;,DFSVisitor,<a class="missing wiki">ColorMap</a>,<span class="underline">w64 unsigned int)' being compiled 1&gt; with 1&gt; [ 1&gt; <a class="missing wiki">VertexListGraph</a>=G, 1&gt; Arg=const boost::topo_sort_visitor&lt;std::back_insert_iterator&lt;std::vector&lt;V&gt;&gt;&gt;, 1&gt; T=boost::default_color_type, 1&gt; <a class="missing wiki">IndexMap</a>=boost::vec_adj_list_vertex_id_map&lt;boost::no_property,__w64 unsigned int&gt;, 1&gt; DFSVisitor=const boost::topo_sort_visitor&lt;std::back_insert_iterator&lt;std::vector&lt;V&gt;&gt;&gt;, 1&gt; <a class="missing wiki">ColorMap</a>=boost::shared_array_property_map&lt;boost::default_color_type,boost::vec_adj_list_vertex_id_map&lt;boost::no_property,__w64 unsigned int&gt;&gt; 1&gt; ] </span></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3562 Trac 1.4.3 andrey.torba@… Mon, 26 Oct 2009 09:11:06 GMT attachment set https://svn.boost.org/trac10/ticket/3562 https://svn.boost.org/trac10/ticket/3562 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">reproduce.cpp</span> </li> </ul> <p> file to reproduce the warning </p> Ticket Jeremiah Willcock Tue, 24 Nov 2009 17:08:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3562#comment:1 https://svn.boost.org/trac10/ticket/3562#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/57895" title="Added extra casts to fix VC++ warnings; fixes #3562">[57895]</a>) Added extra casts to fix VC++ warnings; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3562" title="#3562: Bugs: warning in BGL (closed: fixed)">#3562</a> </p> Ticket