use proper size argument type

This commit is contained in:
Jeff Hill
2000-10-12 16:08:35 +00:00
parent e7f2d2310c
commit 9e23ff58ee

View File

@@ -362,7 +362,7 @@ void casDGIntfIO::sendBeaconIO (char &msg, unsigned length, aitUint16 &portField
else {
osiSockAddr addr;
int size = sizeof (addr.sa);
osiSocklen_t size = ( osiSocklen_t ) sizeof (addr.sa);
status = getsockname (this->beaconSock, &addr.sa, &size);
if (status<0) {
errlogPrintf ( "%s: CA beacon routing (getsockname) error was \"%s\"\n",