From 9a15d354437a37342cf71a892b8b7a9b5338c5ad Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sun, 17 Mar 2019 14:28:22 +0100 Subject: [PATCH] Fix MSVC warning --- src/RowPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index a060874aab..718b1a9aea 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -432,7 +432,7 @@ void RowPainter::paintLabel() const int const x = row_.isRTL() ? row_.width() + fm.width(layout.labelsep) : row_.left_margin - fm.width(layout.labelsep) - fm.width(str); - pi_.pain.text(xo_ + x, yo_, str, font); + pi_.pain.text(int(xo_) + x, yo_, str, font); } -- 2.39.2