mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
add parenthesis to avoid warning
This commit is contained in:
parent
4a1e2f8124
commit
07af20b73b
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ qboolean Sys_IsLANAddress (netadr_t adr) {
|
||||||
// 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
|
// 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
|
||||||
if(adr.ip[0] == 10)
|
if(adr.ip[0] == 10)
|
||||||
return qtrue;
|
return qtrue;
|
||||||
if(adr.ip[0] == 172 && adr.ip[1]&0xf0 == 16)
|
if(adr.ip[0] == 172 && (adr.ip[1]&0xf0) == 16)
|
||||||
return qtrue;
|
return qtrue;
|
||||||
if(adr.ip[0] == 192 && adr.ip[1] == 168)
|
if(adr.ip[0] == 192 && adr.ip[1] == 168)
|
||||||
return qtrue;
|
return qtrue;
|
||||||
|
|
Loading…
Reference in a new issue