From 700a6a6939605eb9d0bf5f762bf8c4420e8d85bb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Jan 2017 16:23:52 +0100 Subject: -Werror=int-in-bool-context (GCC 7) Change-Id: Ide131a586d0d282993dfbf53a783f02d48860647 (cherry picked from commit 53eb2fae381f4ed9d73bcc6d8e76a6f09777ba60) --- vcl/unx/generic/app/saldisp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); } -- cgit v1.2.3