diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 16:23:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 16:23:52 +0100 |
commit | 53eb2fae381f4ed9d73bcc6d8e76a6f09777ba60 (patch) | |
tree | 09da89d4d0280350d566345ef56b7e118fea34d8 | |
parent | 1eef075ad555046d840f1e867ce8a259a5ffc01b (diff) |
-Werror=int-in-bool-context (GCC 7)
Change-Id: Ide131a586d0d282993dfbf53a783f02d48860647
-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 4939927bf6a0..80d0d397a559 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -2262,7 +2262,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() ); } |