From cdd6e9ea701041cd5efe363df6decfd1d28dacd4 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 4 Nov 1998 14:11:12 +0000 Subject: cast is*() to unsigned char --- bin/expr/expr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/expr/expr.c') diff --git a/bin/expr/expr.c b/bin/expr/expr.c index 53234270503..196c0e4d1c3 100644 --- a/bin/expr/expr.c +++ b/bin/expr/expr.c @@ -1,4 +1,4 @@ -/* $NetBSD: expr.c,v 1.9 1998/07/28 11:41:48 mycroft Exp $ */ +/* $NetBSD: expr.c,v 1.10 1998/11/04 14:11:12 christos Exp $ */ /* * Written by J.T. Conklin . @@ -122,7 +122,7 @@ is_integer(vp, r) s++; while (*s) { - if (!isdigit(*s)) + if (!isdigit((unsigned char)*s)) return 0; i *= 10; -- cgit