From 96ef3d320b66e7daa73d88de548b1bb617cdc1cd Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 11 Feb 2019 10:43:59 +0100 Subject: [PATCH] Fix Visual C++ warning (cherry picked from commit 2215f4c2b43f9c282f35984182dcd958c8a27ced) --- src/RowPainter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5