Boost C++ Libraries: Ticket #3755: Warning comparison between signed and unsigned integer in asserts https://svn.boost.org/trac10/ticket/3755 <p> There are a number of warnings that come up with Boost.Serialization in the assertions that deal with checking the number of bytes against the maximum value for an std::streamsize. The problem is that 'count' is a size_t (unsigned) while std::streamsize is signed. </p> <p> The attached patch goes around it by converting count to a std::streamsize in one place and the other converting the max of a std::streamsize to an std::size_t. I'm not sure if this is the right fix, would be good to know one way or another. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3755 Trac 1.4.3 Dean Michael Berris Fri, 11 Dec 2009 19:59:37 GMT attachment set https://svn.boost.org/trac10/ticket/3755 https://svn.boost.org/trac10/ticket/3755 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-serialization-unsigned-signed-comparison-warning-fix-3755.diff</span> </li> </ul> <p> Proposed patch. </p> Ticket Robert Ramey Fri, 11 Dec 2009 20:47:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3755#comment:1 https://svn.boost.org/trac10/ticket/3755#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> OK, rolled it into my local copy </p> <p> Robert Ramey </p> Ticket