diff options
-rw-r--r-- | io/source/acceptor/acc_socket.cxx | 2 | ||||
-rw-r--r-- | io/source/connector/connector.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx index bf6569189cef..a7eacebf1426 100644 --- a/io/source/acceptor/acc_socket.cxx +++ b/io/source/acceptor/acc_socket.cxx @@ -386,7 +386,7 @@ namespace io_acceptor { if( m_bTcpNoDelay || remoteHostname == "localhost" || remoteHostname.startsWith("127.0.0.") ) { - sal_Int32 nTcpNoDelay = sal_True; + sal_Int32 nTcpNoDelay = sal_Int32(true); pConn->m_socket.setOption( osl_Socket_OptionTcpNoDelay , &nTcpNoDelay, sizeof( nTcpNoDelay ) , osl_Socket_LevelTcp ); } diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 9b9477ff869f..7d5d3c321d7b 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -136,7 +136,7 @@ namespace stoc_connector // it can make a significant speed difference on linux boxes. if( bTcpNoDelay || aHost == "localhost" || aHost.startsWith("127.0.0.") ) { - sal_Int32 nTcpNoDelay = sal_True; + sal_Int32 nTcpNoDelay = sal_Int32(true); pConn->m_socket.setOption( osl_Socket_OptionTcpNoDelay , &nTcpNoDelay, sizeof( nTcpNoDelay ) , osl_Socket_LevelTcp ); } |