Index: net.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/net.cc,v retrieving revision 1.250 diff -u -p -r1.250 net.cc --- net.cc 6 Mar 2009 16:31:25 -0000 1.250 +++ net.cc 12 Mar 2009 15:37:45 -0000 @@ -1056,8 +1056,8 @@ gethostby_helper (const char *name, cons { complen = dn_expand (msg, eomsg, curptr->name (), string_ptr, string_size); #ifdef DEBUGGING - if (complen != curptr->complen) - go to debugging; + if ((unsigned)complen != curptr->complen) + goto debugging; #endif ret->h_aliases[alias_count++] = string_ptr; namelen1 = curptr->namelen1; @@ -1071,8 +1071,8 @@ gethostby_helper (const char *name, cons { complen = dn_expand (msg, eomsg, curptr->name(), string_ptr, string_size); #ifdef DEBUGGING - if (complen != curptr->complen) - go to debugging; + if ((unsigned)complen != curptr->complen) + goto debugging; #endif ret->h_name = string_ptr; namelen1 = curptr->namelen1; @@ -1090,12 +1090,12 @@ gethostby_helper (const char *name, cons } #ifdef DEBUGGING /* Should not get here */ - go to debugging; + goto debugging; #endif } #ifdef DEBUGGING if (string_size < 0) - go to debugging; + goto debugging; #endif free (msg);