use proper size argument type
This commit is contained in:
1 parent
e7f2d2310c
commit
9e23ff58ee
1 file changed
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user