-Werror=int-in-bool-context (GCC 7)

Change-Id: Ide131a586d0d282993dfbf53a783f02d48860647
This commit is contained in:
Stephan Bergmann
2017-01-27 16:23:52 +01:00
parent 1eef075ad5
commit 53eb2fae38

View File

@@ -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() );
}