From 13b3808aa0599f37ca1f20131e42eb11f11900c7 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Mon, 18 Mar 2019 09:38:34 +0100 Subject: [PATCH] FindAdv: Casting to satisfy Windows compiler Thanks to Jean-Marc Lasgouttes --- src/lyxfind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 4ba16b95d9..277bd0acb1 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -1347,7 +1347,7 @@ void Intervall::removeAccents() string key = sub.str(1); if (accents.find(key) != accents.end()) { string val = accents[key]; - size_t pos = sub.position(0); + size_t pos = sub.position(size_t(0)); for (size_t i = 0; i < val.size(); i++) { par[pos+i] = val[i]; } -- 2.39.2