summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-10 19:55:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-10 19:55:26 +0000
commit389195e6214ff3b610a010a0937cb6d24b62dcee (patch)
tree491ec859770446dca6968066d6167822714658db
parentModified so warnings would be printed if no network driver was defined. (diff)
downloadnetwork-demos-389195e6214ff3b610a010a0937cb6d24b62dcee.tar.bz2
Removed warnings.
-rw-r--r--dnstest/test.c6
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);