From 3ef684fd0459e370c6550f7c98ca6a2296391ec4 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 11 Jan 2007 12:00:39 +0000 Subject: [PATCH] ctype.h args should be in the range of unsigned char (or EOF). --- tests/progs/slapd-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/progs/slapd-tester.c b/tests/progs/slapd-tester.c index 74086ec84c..0f27540661 100644 --- a/tests/progs/slapd-tester.c +++ b/tests/progs/slapd-tester.c @@ -269,7 +269,7 @@ main( int argc, char **argv ) break; case 'l': /* the number of loops per client */ - if ( !isdigit( optarg[0] ) ) { + if ( !isdigit( (unsigned char) optarg[0] ) ) { char **p, **l = ldap_str2charray( optarg, "," ); -- 2.39.5