|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56257 - trunk/boost/spirit/home/qi/char
From: hartmut.kaiser_at_[hidden]
Date: 2009-09-16 21:52:38
Author: hkaiser
Date: 2009-09-16 21:52:37 EDT (Wed, 16 Sep 2009)
New Revision: 56257
URL: http://svn.boost.org/trac/boost/changeset/56257
Log:
Spirit: fixed yet another warning
Text files modified:
trunk/boost/spirit/home/qi/char/char_class.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/qi/char/char_class.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/char/char_class.hpp (original)
+++ trunk/boost/spirit/home/qi/char/char_class.hpp 2009-09-16 21:52:37 EDT (Wed, 16 Sep 2009)
@@ -57,7 +57,7 @@
bool test(CharParam ch, Context&) const
{
using spirit::char_class::classify;
- return char_encoding::ischar(ch) &&
+ return char_encoding::ischar(int(ch)) &&
classify<char_encoding>::is(classification(), ch);
}
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