From 2215f4c2b43f9c282f35984182dcd958c8a27ced 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++ warnning --- src/RowPainter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2