From 76f3f6eb01ca28e3c7d6c9445f48243e8e05ff11 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Sat, 4 Mar 2017 23:44:53 +0100 Subject: [PATCH] Fix warning --- src/Row.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Row.cpp b/src/Row.cpp index cc78cff339..d6ea7275ba 100644 --- a/src/Row.cpp +++ b/src/Row.cpp @@ -113,7 +113,7 @@ pos_type Row::Element::x2pos(int &x, bool const select) const break; case INSET: case SPACE: { - int const boundary = select ? (full_width() + 1) / 2 : full_width(); + double const boundary = select ? (full_width() + 1) / 2 : full_width(); // those elements contain only one position. Round to // the closest side. if (x > boundary) { -- 2.39.2