From: Jean-Marc Lasgouttes Date: Mon, 11 Feb 2019 09:43:59 +0000 (+0100) Subject: Fix Visual C++ warning X-Git-Tag: 2.3.3~28 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=96ef3d320b66e7daa73d88de548b1bb617cdc1cd;p=features.git Fix Visual C++ warning (cherry picked from commit 2215f4c2b43f9c282f35984182dcd958c8a27ced) --- diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 93ac63dce6..f27eae6664 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -525,9 +525,9 @@ void RowPainter::paintLast() const } if (endlabel == END_LABEL_BOX) - pi_.pain.rectangle(xo_ + x, y, size, size, Color_eolmarker); + pi_.pain.rectangle(int(xo_) + x, y, size, size, Color_eolmarker); else - pi_.pain.fillRectangle(xo_ + x, y, size, size, Color_eolmarker); + pi_.pain.fillRectangle(int(xo_) + x, y, size, size, Color_eolmarker); break; }