Browse Source

Omit a warning where signed chars can't hold 0xff. Initialisen them with -1

dynamic-accesslists
erdgeist 15 years ago
parent
commit
5364ea31ca
  1. 2
      opentracker.c

2
opentracker.c

@ -507,7 +507,7 @@ int main( int argc, char **argv ) { @@ -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…
Cancel
Save