mirror of
git://erdgeist.org/opentracker
synced 2025-07-23 17:05:20 +02:00
Omit a warning where signed chars can't hold 0xff. Initialisen them with -1
This commit is contained in:
parent
bb770a45a6
commit
5364ea31ca
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ int main( int argc, char **argv ) {
|
|||
|
||||
memset( serverip, 0, sizeof(ot_ip6) );
|
||||
#ifndef WANT_V6
|
||||
serverip[10]=serverip[11]=0xff;
|
||||
serverip[10]=serverip[11]=-1;
|
||||
noipv6=1;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue