diff options
| author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-28 13:02:57 +0000 | 
|---|---|---|
| committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-28 13:02:57 +0000 | 
| commit | 4574351ba3c210a6a36ecc472a7ecc7e159bbde0 (patch) | |
| tree | 0fd64f7c7656af0462997708df7e928210742e75 /code/unix | |
| parent | d63f4ce7604f822579031b725291825d12757cda (diff) | |
| download | ioquake3-aero-4574351ba3c210a6a36ecc472a7ecc7e159bbde0.tar.gz ioquake3-aero-4574351ba3c210a6a36ecc472a7ecc7e159bbde0.zip | |
add parenthesis to avoid warning
git-svn-id: svn://svn.icculus.org/quake3/trunk@19 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
| -rwxr-xr-x | code/unix/unix_net.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/code/unix/unix_net.c b/code/unix/unix_net.c index a7412c0..cfb984a 100755 --- a/code/unix/unix_net.c +++ b/code/unix/unix_net.c @@ -279,7 +279,7 @@ qboolean	Sys_IsLANAddress (netadr_t adr) {  	// 192.168.0.0     -   192.168.255.255 (192.168/16 prefix)  	if(adr.ip[0] == 10)  		return qtrue; -	if(adr.ip[0] == 172 && adr.ip[1]&0xf0 == 16) +	if(adr.ip[0] == 172 && (adr.ip[1]&0xf0) == 16)  		return qtrue;  	if(adr.ip[0] == 192 && adr.ip[1] == 168)  		return qtrue; | 
