|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82831 - trunk/boost/regex/v4
From: john_at_[hidden]
Date: 2013-02-12 12:05:01
Author: johnmaddock
Date: 2013-02-12 12:05:01 EST (Tue, 12 Feb 2013)
New Revision: 82831
URL: http://svn.boost.org/trac/boost/changeset/82831
Log:
Warning suppression.
Fixes #8036.
Text files modified:
trunk/boost/regex/v4/basic_regex_parser.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/regex/v4/basic_regex_parser.hpp
==============================================================================
--- trunk/boost/regex/v4/basic_regex_parser.hpp (original)
+++ trunk/boost/regex/v4/basic_regex_parser.hpp 2013-02-12 12:05:01 EST (Tue, 12 Feb 2013)
@@ -1107,7 +1107,7 @@
}
// get the value if any:
v = this->m_traits.toi(m_position, m_end, 10);
- max = (v >= 0) ? v : (std::numeric_limits<std::size_t>::max)();
+ max = (v >= 0) ? (std::size_t)v : (std::numeric_limits<std::size_t>::max)();
}
else
{
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