From: Kornel Benko Date: Sun, 25 Nov 2018 17:25:14 +0000 (+0100) Subject: find: This change was not intended, amend e96a9d63294b X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=64fbd5793dd01341726c11e91ca8899643bebedc;p=features.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] == '}')