diff options
author | erdgeist <> | 2009-08-26 17:35:52 +0000 |
---|---|---|
committer | erdgeist <> | 2009-08-26 17:35:52 +0000 |
commit | 5364ea31ca709be61bed24127fe29dc1bd7ac198 (patch) | |
tree | 6eb25e822c00900df9e020e3dc0d900a9771d289 /opentracker.c | |
parent | bb770a45a6a6b013d52d6e0a4b27fd630e365d30 (diff) |
Omit a warning where signed chars can't hold 0xff. Initialisen them with -1
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index f715424..c16b360 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -507,7 +507,7 @@ int main( int argc, char **argv ) { | |||
507 | 507 | ||
508 | memset( serverip, 0, sizeof(ot_ip6) ); | 508 | memset( serverip, 0, sizeof(ot_ip6) ); |
509 | #ifndef WANT_V6 | 509 | #ifndef WANT_V6 |
510 | serverip[10]=serverip[11]=0xff; | 510 | serverip[10]=serverip[11]=-1; |
511 | noipv6=1; | 511 | noipv6=1; |
512 | #endif | 512 | #endif |
513 | 513 | ||