From 4122e8f08d4cb9736f6d07bb68932d9fe435d8ed Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 23 May 2003 10:57:04 +0000 Subject: [PATCH] Fixed VC warning [SVN r18506] --- include/boost/regex/v4/regex_token_iterator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/v4/regex_token_iterator.hpp b/include/boost/regex/v4/regex_token_iterator.hpp index 3783499e..ac314d41 100644 --- a/include/boost/regex/v4/regex_token_iterator.hpp +++ b/include/boost/regex/v4/regex_token_iterator.hpp @@ -91,7 +91,7 @@ public: { if(N == -1) return false; - if(N+1 < subs.size()) + if(N+1 < (int)subs.size()) { ++N; result =((subs[N] == -1) ? value_type(what.prefix().str()) : value_type(what[subs[N]].str()));