1
0
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:
erdgeist 2009-08-26 17:35:52 +00:00
parent bb770a45a6
commit 5364ea31ca

View File

@ -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