Squeeze warnings on msvc express 2010.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36344 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-11-17 16:15:01 +00:00
parent 710b7549ea
commit a7629d2bfc
2 changed files with 2 additions and 2 deletions

View File

@ -922,7 +922,7 @@ docstring const LaTeXFeatures::getMacros() const
macros << changetracking_dvipost_def;
if (mustProvide("ct-xcolor-ulem")) {
int const prec = macros.precision(2);
streamsize const prec = macros.precision(2);
RGBColor cadd = rgbFromHexName(lcolor.getX11Name(Color_addedtext));
macros << "\\providecolor{lyxadded}{rgb}{"

View File

@ -1111,7 +1111,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
texrow.start(owner_->id(), i + 1);
column = 0;
} else {
column += os.tellp() - len;
column += (unsigned int)(os.tellp() - len);
}
if (owner_->isDeleted(i))