]> git.lyx.org Git - features.git/commitdiff
fix warning
authorAbdelrazak Younes <younes@lyx.org>
Mon, 15 Sep 2008 16:20:12 +0000 (16:20 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 15 Sep 2008 16:20:12 +0000 (16:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26416 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetIndex.cpp

index fa13bdc0f532353fb77944a2b72c0069cb3e9f60..ce2b225d9dc087a84b3f7d6b371dbe63f4c2f6b7 100644 (file)
@@ -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 */) {