From: Jean-Marc Lasgouttes Date: Mon, 11 Feb 2019 09:43:59 +0000 (+0100) Subject: Fix Visual C++ warnning X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3c9932dc3d50ffcc7a44189c3a598eb1960c6f26;p=features.git Fix Visual C++ warnning --- diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 9534b207d0..a060874aab 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -553,9 +553,9 @@ void RowPainter::paintLast() const } if (endlabel == END_LABEL_BOX) - pi_.pain.rectangle(xo_ + x, y, size, size, font.realColor()); + pi_.pain.rectangle(int(xo_) + x, y, size, size, font.realColor()); else - pi_.pain.fillRectangle(xo_ + x, y, size, size, font.realColor()); + pi_.pain.fillRectangle(int(xo_) + x, y, size, size, font.realColor()); break; }