Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64466 - trunk/boost/spirit/home/karma/operator
From: hartmut.kaiser_at_[hidden]
Date: 2010-07-30 09:55:49


Author: hkaiser
Date: 2010-07-30 09:55:48 EDT (Fri, 30 Jul 2010)
New Revision: 64466
URL: http://svn.boost.org/trac/boost/changeset/64466

Log:
Spirit: fixing gcc warning
Text files modified:
   trunk/boost/spirit/home/karma/operator/sequence.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/karma/operator/sequence.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/sequence.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/sequence.hpp 2010-07-30 09:55:48 EDT (Fri, 30 Jul 2010)
@@ -252,7 +252,7 @@
                 // is not optimal but much better than letting _all_ repetitive
                 // components fail.
                 Pred1::value ||
- detail::attribute_size<attr_type_>::value == detail::attr_size(attr_));
+ std::size_t(detail::attribute_size<attr_type_>::value) == detail::attr_size(attr_));
         }
 
         // Special case when Attribute is an stl container and the sequence's


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