Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2007-10-04 13:49:21


Author: hkaiser
Date: 2007-10-04 13:49:20 EDT (Thu, 04 Oct 2007)
New Revision: 39686
URL: http://svn.boost.org/trac/boost/changeset/39686

Log:
Trying to work around a SUN 5.8 compiler error.
Text files modified:
   trunk/libs/program_options/src/options_description.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/program_options/src/options_description.cpp
==============================================================================
--- trunk/libs/program_options/src/options_description.cpp (original)
+++ trunk/libs/program_options/src/options_description.cpp 2007-10-04 13:49:20 EDT (Thu, 04 Oct 2007)
@@ -408,7 +408,7 @@
                         {
                             // is last_space within the second half ot the
                             // current line
- if (unsigned(distance(last_space, line_end)) <
+ if ((unsigned)distance(last_space, line_end) <
                                 (line_length - indent) / 2)
                             {
                                 line_end = last_space;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk