From: Abdelrazak Younes Date: Mon, 15 Sep 2008 16:20:12 +0000 (+0000) Subject: fix warning X-Git-Tag: 1.6.10~3444 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2f271f61bcd514da3ab5b44d2b7bf61e12ac0c44;p=features.git fix warning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26416 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index fa13bdc0f5..ce2b225d9d 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -116,7 +116,7 @@ int InsetIndex::latex(odocstream & os, // encoding. If not try the LaTeX macro which might // or might not be a good choice, and issue a warning. docstring spart2; - for (int n = 0; n < spart.size(); ++n) { + for (size_t n = 0; n < spart.size(); ++n) { try { spart2 += runparams.encoding->latexChar(spart[n]); } catch (EncodingException & /* e */) {