From 99a6fbfbe738e2fe4bfcdd413cdf88acf10bf7ff Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 28 Mar 2008 09:04:48 +0000 Subject: [PATCH] MSVC warning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24015 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/MathMacroTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/MathMacroTemplate.cpp b/src/mathed/MathMacroTemplate.cpp index a0259b0181..3087919d2a 100644 --- a/src/mathed/MathMacroTemplate.cpp +++ b/src/mathed/MathMacroTemplate.cpp @@ -656,7 +656,7 @@ void MathMacroTemplate::shiftArguments(size_t from, int by) { if (it.nextInset()->lyxCode() != MATHMACROARG_CODE) continue; MathMacroArgument * arg = static_cast(it.nextInset()); - if (arg->number() >= from + 1) + if (arg->number() >= int(from) + 1) arg->setNumber(arg->number() + by); } -- 2.39.2