From: Kornel Benko Date: Mon, 18 Mar 2019 08:38:34 +0000 (+0100) Subject: FindAdv: Casting to satisfy Windows compiler X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=210a092a50ffcd8f06d31820797ce0f61346abe4;p=features.git FindAdv: Casting to satisfy Windows compiler Thanks to Jean-Marc Lasgouttes --- 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]; }