diff options
Diffstat (limited to 'boost/spirit/home/classic/dynamic/for.hpp')
-rw-r--r-- | boost/spirit/home/classic/dynamic/for.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/boost/spirit/home/classic/dynamic/for.hpp b/boost/spirit/home/classic/dynamic/for.hpp index 45edd6a968..21c4b78969 100644 --- a/boost/spirit/home/classic/dynamic/for.hpp +++ b/boost/spirit/home/classic/dynamic/for.hpp @@ -108,15 +108,13 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN typename parser_result<self_t, ScannerT>::type parse(ScannerT const &scan) const { - typedef typename parser_result<self_t, ScannerT>::type - result_t; typedef typename parser_result<parser_t, ScannerT>::type body_result_t; typename ScannerT::iterator_t save(scan.first); std::size_t length = 0; - int eval_length = 0; + std::ptrdiff_t eval_length = 0; this->init(); while ((eval_length = this->evaluate(scan))>=0) |