]> git.lyx.org Git - features.git/commitdiff
Fix Visual C++ warnning
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 11 Feb 2019 09:43:59 +0000 (10:43 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:57 +0000 (14:39 +0200)
src/RowPainter.cpp

index 9534b207d0b04322ead1e925a497221feac927e3..a060874aab7cf7ba2ed1120a5f5805c56dd3dc65 100644 (file)
@@ -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;
        }