From: Hallvard Furuseth Date: Thu, 11 Jan 2007 12:00:39 +0000 (+0000) Subject: ctype.h args should be in the range of unsigned char (or EOF). X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~205 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3ef684fd0459e370c6550f7c98ca6a2296391ec4;p=openldap ctype.h args should be in the range of unsigned char (or EOF). --- 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, "," );