diff options
Diffstat (limited to 'contrib/bind/lib/nameser/ns_date.c')
-rw-r--r-- | contrib/bind/lib/nameser/ns_date.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bind/lib/nameser/ns_date.c b/contrib/bind/lib/nameser/ns_date.c index da593a5..d4ec49e 100644 --- a/contrib/bind/lib/nameser/ns_date.c +++ b/contrib/bind/lib/nameser/ns_date.c @@ -16,7 +16,7 @@ */ #ifndef lint -static const char rcsid[] = "$Id: ns_date.c,v 1.2 1999/10/13 16:39:35 vixie Exp $"; +static const char rcsid[] = "$Id: ns_date.c,v 1.3 2001/05/29 05:49:34 marka Exp $"; #endif /* Import. */ @@ -116,7 +116,7 @@ datepart(const char *buf, int size, int min, int max, int *errp) { int i; for (i = 0; i < size; i++) { - if (!isdigit(buf[i])) + if (!isdigit((unsigned char)(buf[i]))) *errp = 1; result = (result * 10) + buf[i] - '0'; } |