fix warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26416 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-09-15 16:20:12 +00:00
parent 2b94a43e38
commit 2f271f61bc

View 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 */) {