|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73526 - trunk/boost/spirit/home/lex/qi
From: hartmut.kaiser_at_[hidden]
Date: 2011-08-04 09:06:57
Author: hkaiser
Date: 2011-08-04 09:06:56 EDT (Thu, 04 Aug 2011)
New Revision: 73526
URL: http://svn.boost.org/trac/boost/changeset/73526
Log:
Spirit: fixing signed/unsigned comparison warning
Text files modified:
trunk/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp (original)
+++ trunk/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp 2011-08-04 09:06:56 EDT (Thu, 04 Aug 2011)
@@ -88,7 +88,7 @@
typedef typename token_type::id_type id_type;
token_type const& t = *first;
- if ((t.id() & mask) == mask)
+ if ((t.id() & mask) == id_type(mask))
{
spirit::traits::assign_to(t.id(), attr);
++first;
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