Merge pull request #47 from dlad/fix-warning

fix clang warning: comparison of unsigned expression < 0 is always false
pull/42/merge
David Schweikert 12 years ago
commit 98d44d02bb

@ -684,7 +684,7 @@ int main( int argc, char **argv )
/* validate various option settings */
if (ttl < 0 || ttl > 255) {
if (ttl > 255) {
fprintf(stderr, "ping: ttl %u out of range\n", ttl);
usage(1);
}

Loading…
Cancel
Save