diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 16:23:52 +0100 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2018-08-14 04:21:00 +0200 |
commit | 700a6a6939605eb9d0bf5f762bf8c4420e8d85bb (patch) | |
tree | 895a726c48aca7f323ec92bdc611bbd7c1895c58 | |
parent | b01ee1682286a52cda1ee14597257e1f862d4e16 (diff) |
-Werror=int-in-bool-context (GCC 7)
Change-Id: Ide131a586d0d282993dfbf53a783f02d48860647
(cherry picked from commit 53eb2fae381f4ed9d73bcc6d8e76a6f09777ba60)
-rw-r--r-- | vcl/unx/generic/app/saldisp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index 0bff9b8352c1..f9b47a0fb4fc 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -2263,7 +2263,7 @@ void SalDisplay::PrintInfo() const SAL_INFO( "vcl", "\tshift ctrl alt \t" << KeyStr( nShiftKeySym_ ) << " (0x" << std::hex << sal::static_int_cast< unsigned int >(nShiftKeySym_) << ") " << KeyStr( nCtrlKeySym_ ) << " (0x" << sal::static_int_cast< unsigned int >(nCtrlKeySym_) << ") " << KeyStr( nMod1KeySym_ ) << " (0x" << sal::static_int_cast< unsigned int >(nMod1KeySym_) << ")"); - if( XExtendedMaxRequestSize(pDisp_) * 4 ) + if( XExtendedMaxRequestSize(pDisp_) != 0 ) SAL_INFO( "vcl", "\tXMaxRequestSize \t" << XMaxRequestSize(pDisp_) * 4 << " " << XExtendedMaxRequestSize(pDisp_) * 4 << " [bytes]"); SAL_INFO( "vcl", "\tWMName \t" << getWMAdaptor()->getWindowManagerName() ); } |