diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-10 19:55:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-10 19:55:26 +0000 |
commit | 389195e6214ff3b610a010a0937cb6d24b62dcee (patch) | |
tree | 491ec859770446dca6968066d6167822714658db | |
parent | 16a968e4ef32afc8e06234f8e8187e3107ae45bc (diff) |
Removed warnings.
-rw-r--r-- | dnstest/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dnstest/test.c b/dnstest/test.c index d06a081..a2ab47c 100644 --- a/dnstest/test.c +++ b/dnstest/test.c @@ -95,17 +95,17 @@ testDNS (void) if (fgets (namebuf, sizeof namebuf, stdin) == NULL) return; cp = namebuf; - while (isspace (*cp)) + while (isspace ((int) *cp)) cp++; if (cp[0] == '\0') { showStatistics (); continue; } name = cp; - while (isgraph (*cp)) + while (isgraph ((int) *cp)) cp++; *cp = '\0'; - if (isdigit(*name)) { + if (isdigit((int) *name)) { struct in_addr addr; addr.s_addr = inet_addr (name); |