commit 578a4b6fb02ebabdc14ceb9625f75315d41aa938
Author: Kornel Benko <[email protected]>
Date: Sun Nov 25 18:25:14 2018 +0100
find: This change was not intended, amend e96a9d63294b
---
src/lyxfind.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index f7df243..0bd647f 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] == '}')