View | Details | Raw Unified | Return to issue 11781
Collapse All | Expand All

(-)workben/proxy/proxy.cxx (-1 / +3 lines)
Lines 274-280 void OProxyChannel::waitFinal (const OTi Link Here
274
	if (m_aParams.m_nBandwidth)
274
	if (m_aParams.m_nBandwidth)
275
	{
275
	{
276
		double nMillisec = double(nBytes) / double(m_aParams.m_nBandwidth);
276
		double nMillisec = double(nBytes) / double(m_aParams.m_nBandwidth);
277
		OTimeValue tv (0, nMillisec * 1000000);
277
		OTimeValue tv (0, static_cast<unsigned long>(nMillisec * 1000000));
278
		tv += rInit;
278
		tv += rInit;
279
279
280
		OTimeValue now (OTimeValue::getSystemTime());
280
		OTimeValue now (OTimeValue::getSystemTime());
Lines 510-515 sal_Bool SAL_CALL OProxyConnector::execu Link Here
510
	NAMESPACE_VOS(OStreamSocket)   aSource;
510
	NAMESPACE_VOS(OStreamSocket)   aSource;
511
	NAMESPACE_VOS(OInetSocketAddr) aFrom;
511
	NAMESPACE_VOS(OInetSocketAddr) aFrom;
512
512
513
	// TODO: warning: comparison between `enum vos::ISocketTypes::TResult'
514
	// and `enum oslSocketResult'
513
	while (m_aSocket.acceptConnection (aSource, aFrom) == osl_Socket_Ok)
515
	while (m_aSocket.acceptConnection (aSource, aFrom) == osl_Socket_Ok)
514
	{
516
	{
515
		NAMESPACE_VOS(OConnectorSocket) aTarget;
517
		NAMESPACE_VOS(OConnectorSocket) aTarget;

Return to issue 11781