mirror of
git://erdgeist.org/opentracker
synced 2025-02-04 19:16:23 +00:00
Omit a warning where signed chars can't hold 0xff. Initialisen them with -1
This commit is contained in:
parent
bb770a45a6
commit
5364ea31ca
@ -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…
x
Reference in New Issue
Block a user