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, "," );