Silence -Werror,-Wimplicit-int-float-conversion

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 10 August 2019 12:43 EDT

> vcl/source/window/window2.cxx:588:20: error: implicit conversion from 'long' to 'double' changes value from -9223372036854775807 to -9223372036854775808 [-Werror,-Wimplicit-int-float-conversion] > if ( nN == -LONG_MAX ) > ~~ ^~~~~~~~~

etc. with Clang 10

Change-Id: I272e8fc373a91630f1c48a2b0ad7a265c5370bcf Reviewed-on: https://gerrit.libreoffice.org/77241

98617d958da9 Silence -Werror,-Wimplicit-int-float-conversion
vcl/source/window/window2.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share