build fixed
This commit is contained in:
@@ -1039,8 +1039,8 @@ namespace pvAccess {
|
||||
// poor throughput performances when transferring large amount of
|
||||
// data. See Microsoft KB article KB823764.
|
||||
// We do it also for other systems just to be safe.
|
||||
int maxBytesToSend = min(_socketSendBufferSize,
|
||||
_remoteTransportSocketReceiveBufferSize)/2;
|
||||
int maxBytesToSend = std::min(_socketSendBufferSize,
|
||||
static_cast<int>(_remoteTransportSocketReceiveBufferSize))/2;
|
||||
|
||||
int limit = buffer->getLimit();
|
||||
int bytesToSend = limit-buffer->getPosition();
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
#include <pv/serverContext.h>
|
||||
#include <pv/clientFactory.h>
|
||||
#include <pv/clientContextImpl.h>
|
||||
|
||||
#include "channelAccessIFTest.h"
|
||||
|
||||
@@ -58,7 +57,7 @@ class ChannelAccessIFRemoteTest: public ChannelAccessIFTest {
|
||||
|
||||
virtual ChannelProvider::shared_pointer getChannelProvider() {
|
||||
return getChannelAccess()->getProvider(
|
||||
ClientContextImpl::PROVIDER_NAME);
|
||||
"pva");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user