ctype.h args should be in the range of unsigned char (or EOF).

This commit is contained in:
Hallvard Furuseth 2007-01-11 12:00:39 +00:00
parent 68ce55418f
commit 3ef684fd04

View file

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