fixed Linux uses unsigned where int is used on other OS

This commit is contained in:
Jeff Hill
2000-08-25 19:44:30 +00:00
parent 607ee29fb3
commit a911a27845
8 changed files with 32 additions and 32 deletions
+3 -3
View File
@@ -432,9 +432,9 @@ void cac::beaconNotify ( const inetAddrID &addr )
* from replying at once.
*/
{
struct sockaddr_in saddr;
int saddr_length = sizeof(saddr);
int status;
struct sockaddr_in saddr;
osiSocklen_t saddr_length = sizeof ( saddr );
int status;
status = getsockname ( this->pudpiiu->getSock (), (struct sockaddr *) &saddr, &saddr_length );
if ( status < 0 ) {