dbms: fixed warning [#CONV-2807].

This commit is contained in:
Alexey Milovidov 2013-05-22 18:56:19 +00:00
parent fe47dbfd50
commit a87eee123f

View File

@ -324,7 +324,7 @@ struct ExtractImpl
const OptimizedRegularExpression & regexp = Regexps::get(pattern);
int capture = regexp.getNumberOfSubpatterns() > 0 ? 1 : 0;
unsigned capture = regexp.getNumberOfSubpatterns() > 0 ? 1 : 0;
OptimizedRegularExpression::MatchVec matches;
matches.reserve(capture + 1);
size_t prev_offset = 0;