win32: some warning removed

This commit is contained in:
Matej Sekoranja
2013-12-03 12:08:45 +01:00
parent ebef394fe3
commit aa6bcecb1a
10 changed files with 22 additions and 22 deletions

View File

@@ -127,7 +127,7 @@ namespace epics {
void BlockingClientTCPTransport::closedNotifyClients() {
// check if still acquired
int refs = _owners.size();
size_t refs = _owners.size();
if(refs>0) {
char ipAddrStr[48];
ipAddrToDottedIP(&_socketAddress.ia, ipAddrStr, sizeof(ipAddrStr));
@@ -215,10 +215,10 @@ namespace epics {
control->startMessage(CMD_CONNECTION_VALIDATION, 2*sizeof(int32)+sizeof(int16));
// receive buffer size
buffer->putInt(getReceiveBufferSize());
buffer->putInt(static_cast<int32>(getReceiveBufferSize()));
// socket receive buffer size
buffer->putInt(getSocketReceiveBufferSize());
buffer->putInt(static_cast<int32>(getSocketReceiveBufferSize()));
// connection priority
buffer->putShort(getPriority());