Update of /cvsroot/boost/boost/libs/program_options/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32490

Modified Files:
      Tag: RC_1_34_0
        options_description.cpp 
Log Message:
Trying to fix sun-5.8 error.

Index: options_description.cpp
===================================================================
RCS file: 
/cvsroot/boost/boost/libs/program_options/src/options_description.cpp,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -d -r1.16.2.1 -r1.16.2.2
--- options_description.cpp     24 Apr 2006 08:01:12 -0000      1.16.2.1
+++ options_description.cpp     15 Feb 2007 01:25:10 -0000      1.16.2.2
@@ -411,9 +411,9 @@
                 
                         if (last_space != line_begin)
                         {                 
-                            // is last_space within the second half ot the 
+                            // is last_space within the second half of the 
                             // current line
-                            if (unsigned(distance(last_space, line_end)) < 
+                            if ((unsigned)std::distance(last_space, line_end) 
< 
                                 (line_length - indent) / 2)
                             {
                                 line_end = last_space;


-------------------------------------------------------------------------
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

Reply via email to