From 06463bec85598591712fbccaf445ca056dcb0529 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 12 Feb 2013 17:05:01 +0000 Subject: [PATCH] Warning suppression. Fixes #8036. [SVN r82831] --- include/boost/regex/v4/basic_regex_parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/v4/basic_regex_parser.hpp b/include/boost/regex/v4/basic_regex_parser.hpp index 72dc4eeb..5dfb81e7 100644 --- a/include/boost/regex/v4/basic_regex_parser.hpp +++ b/include/boost/regex/v4/basic_regex_parser.hpp @@ -1107,7 +1107,7 @@ bool basic_regex_parser::parse_repeat_range(bool isbasic) } // get the value if any: v = this->m_traits.toi(m_position, m_end, 10); - max = (v >= 0) ? v : (std::numeric_limits::max)(); + max = (v >= 0) ? (std::size_t)v : (std::numeric_limits::max)(); } else {