Update of /cvsroot/boost/boost/boost
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10626
Modified Files:
lexical_cast.hpp
Log Message:
Fixed a warning, when lexical cast is used to convert a boost::ulong_long_type
to a string.
Index: lexical_cast.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/lexical_cast.hpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- lexical_cast.hpp 16 Jan 2007 21:03:47 -0000 1.33
+++ lexical_cast.hpp 26 Feb 2007 17:27:26 -0000 1.34
@@ -505,7 +505,7 @@
--left;
--finish;
- int const digit = n % 10;
+ int const digit = static_cast<int const>(n % 10);
int const cdigit = digit + lcast_char_constants<CharT>::zero;
*finish = static_cast<char>(cdigit);
n /= 10;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs