From: Kornel Benko Date: Sun, 25 Nov 2018 17:25:14 +0000 (+0100) Subject: find: This change was not intended, amend e96a9d63294b X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2898 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=578a4b6fb02ebabdc14ceb9625f75315d41aa938;p=lyx.git find: This change was not intended, amend e96a9d63294b --- diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index f7df243408..0bd647fff4 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -2406,7 +2406,7 @@ int MatchStringAdv::findAux(DocIterator const & cur, int len, bool at_begin) con else result = m[m.size() - close_wildcards].first - m[0].first; - size_t pos = m.position(0); + size_t pos = m.position(size_t(0)); // Ignore last closing characters while (result > 0) { if (str[pos+result-1] == '}')