From 53eb2fae381f4ed9d73bcc6d8e76a6f09777ba60 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Jan 2017 16:23:52 +0100 Subject: [PATCH] -Werror=int-in-bool-context (GCC 7) Change-Id: Ide131a586d0d282993dfbf53a783f02d48860647 --- 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 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() ); }