mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-16 16:41:30 +00:00
Fix warning in MSVC++.
This commit is contained in:
parent
acc0d2c5b8
commit
c7d068a829
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ qboolean NET_StringToAdr (char *s, netadr_t *a)
|
|||
if (*colon == ':')
|
||||
{
|
||||
*colon = 0;
|
||||
sadr.sin_port = htons(atoi(colon+1));
|
||||
sadr.sin_port = htons((unsigned short)atoi(colon+1));
|
||||
}
|
||||
|
||||
if (copy[0] >= '0' && copy[0] <= '9')
|
||||
|
|
Loading…
Reference in a new issue