commit 76f3f6eb01ca28e3c7d6c9445f48243e8e05ff11
Author: Guillaume Munch <g...@lyx.org>
Date:   Sat Mar 4 23:44:53 2017 +0100

    Fix warning
---
 src/Row.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Row.cpp b/src/Row.cpp
index cc78cff..d6ea727 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) {

Reply via email to