From 14b4aa9a3321dbe0992ad09534df2335c13b19e1 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 1 Nov 1999 17:47:11 +0000 Subject: [PATCH] fixed sun pro warning --- src/cas/io/bsdSocket/casDGIntfIO.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cas/io/bsdSocket/casDGIntfIO.cc b/src/cas/io/bsdSocket/casDGIntfIO.cc index 37af4b37b..ca94fec2e 100644 --- a/src/cas/io/bsdSocket/casDGIntfIO.cc +++ b/src/cas/io/bsdSocket/casDGIntfIO.cc @@ -242,7 +242,7 @@ void casDGIntfIO::xSetNonBlocking() // // casDGIntfIO::osdRecv() // -inBuf::fillCondition casDGIntfIO::osdRecv(char *pBuf, bufSizeT size, +inBuf::fillCondition casDGIntfIO::osdRecv(char *pBufIn, bufSizeT size, fillParameter parm, bufSizeT &actualSize, caNetAddr &fromOut) { int status; @@ -258,7 +258,7 @@ inBuf::fillCondition casDGIntfIO::osdRecv(char *pBuf, bufSizeT size, } addrSize = sizeof (addr); - status = recvfrom (this->sock, pBuf, size, 0, + status = recvfrom (this->sock, pBufIn, size, 0, &addr, &addrSize); if (status<=0) { if (status<0) { @@ -280,7 +280,7 @@ inBuf::fillCondition casDGIntfIO::osdRecv(char *pBuf, bufSizeT size, // // casDGIntfIO::osdSend() // -outBuf::flushCondition casDGIntfIO::osdSend (const char *pBuf, bufSizeT size, +outBuf::flushCondition casDGIntfIO::osdSend (const char *pBufIn, bufSizeT size, const caNetAddr &to) { int status; @@ -289,7 +289,7 @@ outBuf::flushCondition casDGIntfIO::osdSend (const char *pBuf, bufSizeT size, // (char *) cast below is for brain dead wrs prototype // struct sockaddr dest = to; - status = sendto (this->sock, (char *) pBuf, size, 0, + status = sendto (this->sock, (char *) pBufIn, size, 0, &dest, sizeof(dest)); if (status>=0) { assert ( size == (unsigned) status );