Fix uninitialized usage warnings on MacOSX.
This commit is contained in:
1 parent
eb3b59308b
commit
ca5fabe8c6
1 file changed
+1
-1
@@ -703,7 +703,7 @@ qboolean Sys_IsLANAddress( netadr_t adr ) {
|
||||
|
||||
addrsize = sizeof(adr.ip);
|
||||
}
|
||||
else if(adr.type == NA_IP6)
|
||||
else
|
||||
{
|
||||
compareip = (byte *) &((struct sockaddr_in6 *) &localIP[index].addr)->sin6_addr;
|
||||
comparemask = (byte *) &((struct sockaddr_in6 *) &localIP[index].netmask)->sin6_addr;
|
||||
|
||||
Reference in new issue
Block a user