diff options
| author | dsl <dsl@NetBSD.org> | 2004-10-30 15:15:37 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2004-10-30 15:15:37 +0000 |
| commit | e2f49bd9e27fbfdc2ef4b51281ebf1d45a09b037 (patch) | |
| tree | b56cb9e8359473a5d9798fa90271f4ed1aaf1829 /usr.sbin/rpc.bootparamd/bootparamd.c | |
| parent | 9efede97a97fc34dc1962d1078cb9f24ecc584a6 (diff) | |
Add (unsigned char) cast to ctype functions
Diffstat (limited to 'usr.sbin/rpc.bootparamd/bootparamd.c')
| -rw-r--r-- | usr.sbin/rpc.bootparamd/bootparamd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c index 7f6f74a2344..c2df0d96e92 100644 --- a/usr.sbin/rpc.bootparamd/bootparamd.c +++ b/usr.sbin/rpc.bootparamd/bootparamd.c @@ -1,4 +1,4 @@ -/* $NetBSD: bootparamd.c,v 1.43 2004/09/07 13:20:40 jrf Exp $ */ +/* $NetBSD: bootparamd.c,v 1.44 2004/10/30 15:23:30 dsl Exp $ */ /* * This code is not copyright, and is placed in the public domain. @@ -11,7 +11,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: bootparamd.c,v 1.43 2004/09/07 13:20:40 jrf Exp $"); +__RCSID("$NetBSD: bootparamd.c,v 1.44 2004/10/30 15:23:30 dsl Exp $"); #endif #include <sys/types.h> @@ -92,7 +92,7 @@ main(argc, argv) iface = optarg; break; case 'r': - if (isdigit(*optarg)) { + if (isdigit((unsigned char)*optarg)) { if (inet_aton(optarg, &route_addr) != 0) break; } |
